I have a large minified CSS file at around 50k, this is referenced by about 30 pages.
Would separating the CSS into one base file with separate CSS files for each page significantly reduce load time, or is serving one large file practically the same? Thank you.
I'm not entirely sure what you mean, but serving one large file and caching it properly is definitely the way to go - ideally, that will cause only one HTTP request per client.
50k really isn't that large - especially with most people's internet connections.
I'd keep the single file, because:
A similar topic would be the use of sprite sheets - which is essentially the same thing in that one large file containing multiple images is favourable over many smaller images nowadays.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With