Jump to content

Topic on Project:Support desk/Flow

Caching MobileFrontEnd?

4
78.72.129.219 (talkcontribs)

Just how does one get MobileFrontend pages to cache properly? Apparently it's disabled from using the built-in file cache system, and so far I see no evidence of Varnish being willing to cache it. Does anyone have a good guide explaining what might be needed in terms of tweaks to VCL to get it to cache?

Thanks!

TheDJ (talkcontribs)

I'm not really sure, but I have asked the mobile-l mailing list if they might be able to help you out.

MaxSem (talkcontribs)

MF works very well with Varnish, as evidenced by Wikipedia.

ABaso (WMF) (talkcontribs)

The Varnish config is in http://git.wikimedia.org/tree/operations%2Fpuppet.git/d2135689ca373f3dd2782ac2d61e941a0ce8eb03/templates%2Fvarnish . In that same repo you'll see some Apache directories which are instructive. The stuff in https://git.wikimedia.org/tree/operations%2Fmediawiki-config.git (partially available via an easy to remember https://noc.wikimedia.org URL) is also helpful to some extent (you'll see other caching directive stuff in MediaWiki Core; a runtime debugger is often a good idea if tracing through that).