Steps to replicate the issue (include links if applicable):
- Visit https://pl.wikipedia.org/wiki/Wikipedia:Strona_g%C5%82%C3%B3wna in an incognito window.
- Inspect network tab
What happens?:
- 36.2kb of render blocking CSS is loaded for anonymous page views (compared to 19.3kb on English Wikipedia)
What should have happened instead?:
The bundle should be more optimized. Render blocking CSS does contribute to higher first paint times, especially on poor connections and older devides.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
The main reasons for the adding CSS load seem to be a combination of the following:
- the installation of FlaggedRevs (tracked n T350514)
- The installation of ReferenceTooltips for anonymous users by default which loads jquery.ui and oojs-ui-core (perhaps this could be revisited in light of T282999)
- The addition of oojs-ui-core.icons, oojs-ui.styles and oojs-ui.styles.indicator to render blocking CSS (not sure what is adding this but it does not appear to be gadget related and seems related to something on the page calling OutputPage::enableOOUI)