Page MenuHomePhabricator

Clean up portals CSS
Closed, ResolvedPublic

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt removed a project: Epic.
debt edited subscribers, added: debt; removed: JGirault, Aklapper.

Moving this to the backlog to work on when we begin automating the portal update code.

debt added a subscriber: JGirault.

Change 383545 had a related patch set uploaded (by Jdrewniak; owner: Jdrewniak):
[wikimedia/portals@master] Removing unused CSS from www.wikipedia.org portal

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

For comparicon: The document on wikipedia.org before the optimisation is 85.7 KB with all styles inlined.

Change 383545 merged by jenkins-bot:
[wikimedia/portals@master] Remove unused CSS & templates from www.wikipedia.org portal

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

@Volker_E good point. I ran a build of the portal with the above patch, and on my machine index.html clocks in at about 75kb
Before this patch, index.html clocks in at about 85kb (like you mentioned)

debt claimed this task.
debt moved this task from Needs code review to Done on the Discovery-Portal-Sprint board.

This was merged on Nov 16th, 2017.