On 01/10/13 17:57, Jeroen De Dauw wrote:
Hey,
The standard practice is not to split the cache but to use
protocol-relative urls.
This wiki is running MediaWiki 1.21.2 with the Vector skin. The resources with protocol specific URLs are resource loader modules. Does that mean I have to modify the Vector skin? I hope not.
No, just set $wgServer to the protocol-relative URL (e.g. "//wiki.example.com") and set $wgCanonicalServer to the protocol-specific URL (e.g. https://wiki.example.com). This is how we do it at WMF. I have tested this setup just now with the HTML file cache, and it works just fine.
On 01/10/13 18:07, Daniel Friesen wrote:
Oh right, the file cache works that way. That's probably a bug we'll have to fix. Most sites with HTTPS are more likely using a real front end cache rather than the file cache.
You are incorrect. There is no bug.
Honestly, I don't think I have ever seen a flame war started for such a stupid reason.
-- Tim Starling