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

--- Comment #11 from Juliusz Gonera <[email protected]> ---
I think I haven't explained well enough what this bug is about.

Go to https://en.m.wikipedia.org/
There's only one <link> tag to styles:
https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=mobile.styles&only=styles&skin=mobile&*

Now go to Settings, there's again only one <link> tag, *but* it's different:
https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=mobile.styles%7Cmobile.mobileoptions.styles&only=styles&skin=mobile&*

What does this mean? Settings page loads additional styles, but it also
certainly uses some of the styles from the main page. *But* instead of reusing
the browser cache and using the CSS requested on the main page:

https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=mobile.styles&only=styles&skin=mobile&*

*and* adding its own styles in a *separate* <link> tag, it just issues a
request that fetches everything together.

This way, we keep reloading (re-requesting) CSS that already is in browser
cache instead of reusing it because every <link> tag issues a request for the
*entire* CSS of MobileFrontend (+ sometimes page-specific CSS) on every page.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to