Caching

This page explains the importance of not caching pages containing news items.

When implementing news on any website, is important to remember client side caching and that many browsers has an aggressive default cache policy. Any page that renders news should therefore ensure that the clients browser does not cache the page. This is done by setting caching policy headers on the server side. eg

Cache-Control: max-age=0, no-cache, no-store, must-revalidate Expires: Thu, 01 Jan 1970 00:00:00 GMT Pragma: no-cache

Failing to do do this could, in the worst case, be considered a violation of EUs MAR regulation that demands simultaneous publishing.

Last updated