-
Suggestion
-
Resolution: Fixed
-
None
The default Wiki pages include in their header:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
But Pragma: no-cache and Expires=-1 are HTTP headers defined in HTTP/1.0, not HTTP/1.1. It's not really appropriate for most enterprise deployments, where everyone is running a browser newer than IE 5.
There is no reason to 'not cache'. You just want to validate the cache. With Pragma: no-cache, some browsers will not let you use the page you already loaded when you hit the 'back' button, and thus reload the page, scroll to the top, throw away any form data that might already be partially filled in.
It would be better to use HTTP/1.1 constructs; perhaps
cache-control: max-age=0
and even better to put that in the HTTP server, rather than sticking it into every HTML page sent over the net.
- relates to
-
CONFSERVER-9289 Resources served from /display/* are not sent with correct cache headers
- Closed
-
CONFSERVER-9290 Improve browser-caching and back-navigation by removing the "no-store" cache control headers
- Closed