vue-storefront-1 icon indicating copy to clipboard operation
vue-storefront-1 copied to clipboard

Check if serving all CSS styles from external file will improve page speed results

Open pkarw opened this issue 6 years ago • 1 comments

What is the motivation for adding / enhancing this feature?

Currently, we're outputting all the styles (extracted from Vue components) in the HTML - which causes pretty huge HTML bundle (but also let us avoid additional network calls).

We could do a PoC of mini-css-extract-plugin and keep it as an option for the production mode compiles for users to just .. well uncomment in the webpack config or enable by VS configuration parameter

more on this: https://forum.vuestorefront.io/t/remove-internal-css-from-page/579

pkarw avatar Sep 05 '19 19:09 pkarw

Hi, I'll try to work on this during the hackathon 👍

DnD-Waxime avatar Sep 27 '19 09:09 DnD-Waxime