As part of the desktop refresh it is important that we think about the performance of the new experience. Our users deserve a performant desktop site. Given the changes we are planning, we are likely to add to the problem with new widgets. T235712 flagged various libraries that may cause us issues in this area.
The Apiout skin is a great benchmark for desktop performance. It doesn't add any styles or scripts so ships only the styles+scripts from Wikimedia extensions.:
We should audit the scripts and styles being added to the page and :
- Identify modules that are not marked with targets desktop+mobile (this has been flagged by T235712)
- create tickets identifying steps to reducing CSS/JS as subtasks of T235712 with a loading strategy from T235712 and tagged with Readers-Web-Backlog
- Determine what potential savings to CSS and JS to desktop are possible from reviewing the list of modules flagged in T235712.