In an effort to reduce our traffic by cutting out unintentional reloads (particularly through using the 'back' and 'forward' buttons in Internet Explorer), certain accesses to Wikipedia are now marked to allow browsers to cache them.
Now cacheable are: - Viewing an article's current version - Viewing an older version of an article - Showing an article's history - Recent changes list
The browser still must check with the server to see if the page has changed, but if it hasn't the browser's cached version can be shown, saving a lot of database sorting, wikitext parsing, link checking, and bandwidth. If it has changed, you get the new version.
I haven't been able to get Mozilla to consistently behave correctly (probs with the expiry time; it doesn't check for updates), so for Gecko-based browsers the pages will still be marked as un-cacheable. This isn't as big a deal anyway, as Mozilla will in any case use cached pages when traversing the "back" and "forward" buttons; IE's forced reloads in this situation are the primary target.
(The pages are also marked 'private', so shared proxy caches shouldn't send one person's logged-in pages to another person.)
If anyone has (new) problems with pages showing old versions when they shouldn't, please let me know!
So far this is installed only on www.wikipedia.org and test.wikipedia.org. It'll go on meta and the rest of the languages soon when I get other things updated this weekend.
-- brion vibber (brion @ pobox.com)
Brion wrote:
In an effort to reduce our traffic by cutting out unintentional reloads (particularly through using the 'back' and 'forward' buttons in Internet Explorer), certain accesses to Wikipedia are now marked to allow browsers to cache them.
(snip)
If anyone has (new) problems with pages showing old versions when they shouldn't, please let me know!
I'm getting completely blank white pages when I use the 'back' or 'forward' buttons. It doesn't happen every time, but most of the time and to all pages. I'm using Internet Explorer 5 and Windows 98.
Let me know if you need any other info on this
sannse
On dim, 2003-02-02 at 00:32, sannse@delphiforums.com wrote:
I'm getting completely blank white pages when I use the 'back' or 'forward' buttons. It doesn't happen every time, but most of the time and to all pages. I'm using Internet Explorer 5 and Windows 98.
Okay, try it now. I've made the check more conservative, so it only does the caching magic on MSIE 5.5, 6, or higher. (5.0 had some other problems we had to work around as I recall...)
-- brion vibber (brion @ pobox.com)
Brion wrote:
Okay, try it now. I've made the check more conservative, so it only does the caching magic on MSIE 5.5, 6, or higher. (5.0 had some other problems we had to work around as I recall...)
Yep, that seems to have done it. No problems now. Guess it's about time I updated a few things on this machine.
sannse
wikipedia-l@lists.wikimedia.org