[mythtv-users] Mediawiki caching of stale pages
Nick Morrott
knowledgejunkie at gmail.com
Thu Mar 24 21:25:09 UTC 2011
On 24 March 2011 16:51, Raymond Wagner <raymond at wagnerrp.com> wrote:
> On 3/24/2011 12:37, Nick Morrott wrote:
>> On 24 March 2011 16:04, Raymond Wagner<raymond at wagnerrp.com> wrote:
>>> On 3/24/2011 10:43, Aaron wrote:
>>>> Just to note, even Google (http://goo.gl/) has a url shortener, so i'm
>>>> not entirely sure what Mr. Rudolph is going on about.
>>> http://www.mythtv.org/wiki/Mailing_List_etiquette#No_URL_shorteners
>> Hands up if you're browsing the wiki (not logged in) and can't see
>> Raymond's above update from nearly three months ago.
>>
>> Not sure if it's my ISP caching stale pages or a mythtv.org server
>> misconfiguration.
>
> Mediawiki has the nasty habit of caching pages and not updating them
> when the page has updated. The page has since been purged. For future
> reference, you can manually purge pages by appending...
>
> <url>?action=purge
Raymond,
Is the mythtv.org server running MediaWiki with mod_disk_cache?
If so, is the stale caching issue the same as that described in the
article (and fixed with its accompanying patch) at
http://blogs.testbit.eu/timj/2011/02/09/using-mod_disk_cache-with-mediawiki/
?
I currently see:
$ wget -S --delete-after -nd http://www.mythtv.org/wiki/Mailing_List_etiquette
--2011-03-24 17:44:01-- http://www.mythtv.org/wiki/Mailing_List_etiquette
Resolving www.mythtv.org... 184.106.209.209
Connecting to www.mythtv.org|184.106.209.209|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Thu, 24 Mar 2011 17:44:02 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding,Cookie,User-Agent
X-Vary-Options:
Accept-Encoding;list-contains=gzip,Cookie;string-contains=mythwikiToken;string-contains=mythwikiLoggedOut;string-contains=mythwiki_session
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: private, must-revalidate, max-age=0
Last-Modified: Thu, 24 Mar 2011 17:10:52 GMT
The 'Expires' and 'Cache-Control' header contents seem to match those
described in the article above, resulting in caching of stale pages
unless forcefully purged.
Cheers,
Nick
--
Nick Morrott
MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users
"An investment in knowledge always pays the best interest." - Benjamin Franklin
More information about the mythtv-users
mailing list