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

--- Comment #7 from metatron <[email protected]> ---
If this is caused by this lines (as Michael M. stated):

sub vcl_deliver {
   /* Override the Cache-Control header for wiki content pages */
   if (req.url ~ "(?i)^/w(iki)?/.*"
       && req.url !~ "^/wiki/Special\:Banner(Controller|ListLoader)"
       && req.url !~ "(?i)^/w/(extensions/.*|api\.php)"
       && req.url !~ "(?i)bcache=1") {
       set resp.http.Cache-Control = "private, s-maxage=0, max-age=0,
must-revalidate";
   }
}

Why not just simply add a regex to meet the directives of the request?
Request-url and query-string are available at present; the "new" parameter
bcache is respected, why not maxage/s-maxage?
IMHO at least "private" should be removed for requested .js/.css pages or for
action "raw". This would allow proxies/local browsers to intelligently set
caching. "private" + "must revalidate" leaves no elbowroom for systems to guess
the right things.

https://meta.wikimedia.org/w/index.php?title=User:Hedonil/Test/XTools.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=86400

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to