2 ms·
Separate CSS has the advantage that it can get cached, so you ideally only transfer it once.
by numlock86 4y ago
Separate CSS has the advantage that it can get cached, so you ideally only transfer it once.
- wbobeirne 4y agoHTML can be cached too, with the right headers.
- mccorrinall 4y agoMost blogs consist of more than a single html page and usually reuse the same styles.
- josephg 4y agoTrue, but most visitors to your blog won’t read more than one page.
- stefs 4y agotrue, but for a blog, the html would be cached per page, which means that if you look at n pages the same css is loaded n times too. depending on _how_ you cache it, there might be a cache invalidation round trip for your css (Q: has this changed? A: no), which might or might not transfer more data than your embedded css anyway.