-
Task
-
Resolution: Merged
-
Should have
-
None
-
5
-
Code Refactoring, Performance
-
Sprint #182
-
tavros
We can avoid sending the post page CSS on every page type if we create a separate entrypoint for this CSS, and conditionally enqueue it.
This reduces the main CSS file (uncompressed) from about 87KB to 70KB. The post CSS file is just 10KB, so even that page has 7KB less blocking CSS. This can be further reduced, it's still possible to reduce the specificity of some of the post CSS.
- relates to
-
PLANET-6128 Split post type specific CSS to separate files
- CLOSED