All Wikimedia Javascript and CSS files which have Cache-control set to public and are not having their cache headers overwritten by the Squid servers are getting a 30 days max-age param added onto their cache-control header, even if they already have one. Here are some examples:
http://en.wikipedia.org/w/index.php?title=-&action=raw&maxage=2678400&gen=css
Cache-Control:public, s-maxage=2678400, max-age=2678400, max-age=2592000
http://en.wikipedia.org/w/index.php?title=-&action=raw&gen=js&useskin=vector&283-17
Cache-Control:public, s-maxage=2678400, max-age=2678400, max-age=2592000
http://en.wikipedia.org/w/index.php?title=Special:BannerController&cache=/cn.js&283-17
Cache-Control:public, s-maxage=3600, max-age=3600, max-age=2592000
The 30 day max-age appears to be coming from the following Apache config:
ExpiresActive On ExpiresByType image/gif A2592000 ExpiresByType image/png A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType text/css A2592000 ExpiresByType text/javascript A2592000 ExpiresByType application/x-javascript A2592000
This is likely a minor problem in most cases, but is a significant problem for the fundraising effort, since CentralNotice banner lists are not supposed to be cached for more than 5 minutes on the client side.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=17821