Tech:Cache bug on DE
From Wikitravel Shared
[edit] What happens
The cache isn't always being cleared when after someone edits. I noticed this when I was editing de:Mobile, and again after editing the de:Wikitravel:Kandidaten für das Reiseziel des Monats.
After several edits I realized the cache was not being cleared and had to manually purge the cache for the updated version of the page to display.
[edit] When it happens
Randomly, but it began today (Tuesday, January 23, 2007)
I already noticed it on 21 January 2007 editing this here [1]. I thought it is a problem with my browser's cache. For me it happens every time I edit a page. --Flip666 21:50, 23 January 2007 (EST)
[edit] What should happen
The cache should be cleared after the page is edited and the current/updated form of the page should be displayed. However, with this problem the opposite is happening and when I edit a page and the page is reloaded the edits are not displayed until the user purges the cache manually.
[edit] How to fix it
If I knew I wouldn't work in a kitchen. -- Andrew Haggard (Sapphire) 20:55, 23 January 2007 (EST)
- OK, so, a few days ago I set the "cache epoch" -- the minimum time for the cache to report how old a page was -- as 21 Jan. We'd changed the titles to show "Reiseführer für ...", and this would let browsers and bots know that they should get the new version. However, I mistyped the date (it's in a funky format), and it ended up being a meaningless number that MediaWiki treated as "infinitely far in the future". So, caching wasn't working.
- I've fixed the number so it should work correctly. You may need to manually reload some pages for a while, but it should correct itself soon. Let me know if there are further problems. --Evan 01:49, 24 January 2007 (EST)
- Thank you. -- Andrew Haggard (Sapphire) 12:53, 24 January 2007 (EST)

