Szymon Borda Szymon Borda - 3 months ago 30
Sass (Sass) Question

Is one bundled css used for all sub sites good?

I recently started with node.js things. Discovered webpack and sass-loader, read about them. I think I got it all but one thing is bothering me.
When sass-loader bundles all my scss files to one - css, am I suposed to use this exactly file on all sub sites? Am guessing thats wrong so what am I suposed to do in big, multiple sites app?

Answer Source

Using one big CSS file is considered good. When people visit your site, the whole CSS will be cached, which allows the subpages to load much faster.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download