Topic on Project:Support desk/Flow

[RESOLVED] Any way to control the caching of MediaWiki:Common.css?

5
Fereal (talkcontribs)

Are there any ways to control the caching on the changes on this page, so that whenever it gets changed, recent visitors (that have loaded the previous version) don't have to force clear their cache to see the changes?

Ciencia Al Poder (talkcontribs)

It's usually not necessary for visitors to clear their cache. ResourceLoader sends an Expires: header with a duration of 10 minutes, so the browser should request the URL again to the server, and it will check if the file has changed, and send the new version of it.

Basically, they'll be seeing the old version for 10 minutes at most, but that should be acceptable.

Fereal (talkcontribs)

Any way to control the time?

Ciencia Al Poder (talkcontribs)
Fereal (talkcontribs)

So I'm gonna assume Common.css falls under "unversioned". "versioned" falls under the addon modules in extensions?

Anyway, not interested in the latter.

kthx.

Reply to "[RESOLVED] Any way to control the caching of MediaWiki:Common.css?"