Home › Forums › CSS › when to inline your entire stylesheet when using critical path rendering CSS › Reply To: when to inline your entire stylesheet when using critical path rendering CSS
What are you talking about? You can’t cache HTML on users browser, only resource files. If you link to a file, like
main.css this can be cached by the browser. If you inline this file, in the head of HTML, on each request you’ll be downloading this additional data. Web is stateless. Server will respond with new HTML which has to be downloaded. If your inlined CSS is additional 50k, this will be downloaded EACH TIME, not cached.