DEV Community

Discussion on: Failing is better than not trying

Collapse
 
cicirello profile image
Vincent A. Cicirello

Have you tried embedding the css in the head of each page? That would save a request. Although downside of that is that browser can't simply cache the css file with the first page visited as visitors navigate around your site.

Collapse
 
dailydevtips1 profile image
Chris Bongers

Yeah it's kind of too much to inline at this stage.
Trying that would then bloat the html load.

I might give it a try to inline everything above the fold though.

Collapse
 
cicirello profile image
Vincent A. Cicirello

Inlining the stuff for above the fold might help.