diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-03-31 17:51:46 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-03-31 17:52:58 -0400 |
commit | 4dcea6207d03fcdc25bc1c172d69c30673b7254a (patch) | |
tree | 0dd0dbfaa4f4e3c19ac8730dd6fa5aced3db179f /debian/changelog | |
parent | fc5445b90677489642e4ae8d5b2f6c54cdd847c5 (diff) |
page.tmpl: Add Cache-Control must-revalidate to ensure that users (especially of Firefox) see fresh page content.
Since Firefox version 3, it's done aggressive caching of visited pages, and
does not, by default, check if the cached content is still valid when
reloading or revisiting a page. By default, Firefox seems to not re-contact
the web server at all. Compare with eg, Epiphany and Chromium, which appear
to always check, and get back a 304 when the page is unchanged.
This header makes Firefox do the right thing, at least for html files. It
still over-caches if css, javascript, images, etc, are changed.
Diffstat (limited to 'debian/changelog')
-rw-r--r-- | debian/changelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 5ec52d3c0..bbca7cffe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,8 @@ ikiwiki (3.20100324) UNRELEASED; urgency=low * openid: Use Openid Simple Registration or OpenID Attribute Exchange to get the user's email address and username. (Neither is yet used, but they are available in the session object now.) + * page.tmpl: Add Cache-Control must-revalidate to ensure that users + (especially of Firefox) see fresh page content. -- Joey Hess <joeyh@debian.org> Sat, 13 Mar 2010 14:48:10 -0500 |