Page MenuHomePhabricator

Inline CSS for performance.wikimedia.org
Closed, ResolvedPublic

Description

If we wanna speed up rendering of performance.wikimedia.org we can inline the CSS. You can easily do that with Jekyll if you just put the CSS in the include folder (see https://github.com/sitespeedio/sitespeed.io/blob/master/docs/_layouts/default.html#L43). That would work nice for bootstrap and over own CSS. To make it under the magic 14kb we need to clean up the CSS from metrics-graphics.

Event Timeline

Peter triaged this task as Medium priority.Jun 29 2017, 7:57 AM

I think we don't need to uncss the metrics-graphics for now, zipping everything we get under the magic 14kb, lets try to just include them.

And you can use the include relative: https://jekyllrb.com/docs/includes/ that will work just fine :)

Change 362157 had a related patch set uploaded (by Phedenskog; owner: Phedenskog):
[performance/docroot@master] Inline CSS for faster rendering.

https://gerrit.wikimedia.org/r/362157

Aklapper renamed this task from Inline CSS for perfromance.wikimedia.org to Inline CSS for performance.wikimedia.org.Jun 29 2017, 9:07 AM

Change 362157 merged by jenkins-bot:
[performance/docroot@master] Inline CSS for faster rendering

https://gerrit.wikimedia.org/r/362157