https://bugzilla.wikimedia.org/show_bug.cgi?id=44570

--- Comment #44 from Roan Kattouw <[email protected]> ---
(In reply to comment #43)
> (In reply to comment #42)
> > Wait. I can not believe MediaWiki is sending pages with Cache-Control:
> > max-age=2592000 (2592000 = 30 days in seconds).
> > 
> > I've accessed that page as anon and I got as a response:
> > 
> >  Cache-Control=private, s-maxage=0, max-age=0, must-revalidate
> > 
That's what you saw, but you got that from the Squids. MediaWiki send s-maxage
headers, and Squid obeys those then munges them to make sure no one else will
cache the page downstream.

> Squids get longer expires because we purge pages when they get edited. See
> the
> cache control logic in OutputPage.php
That's right. We send 30-day s-maxage headers and send explicit purges when
pages are edited.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to