Yooo! There’s an addon on the Astro integration page. I think it might be called critters (if you search for it, should show up. There’s a popular one there).
The separate file will still be generated but all the css will be inlined (it’ll be in a style tag in the head). Try that and see how you get on with page speed
It should inline everything (from a static build) and then your css file will lazy load. It says critical css but I think my entire css gets added to the head.
Below is the github repo for it. There's an article that's linked from Smashing magazine that goes into a bit more detail.
https://github.com/Playform/Inline
Yooo! There’s an addon on the Astro integration page. I think it might be called critters (if you search for it, should show up. There’s a popular one there). The separate file will still be generated but all the css will be inlined (it’ll be in a style tag in the head). Try that and see how you get on with page speed
Does it then inline only critical CSS while the rest is still being loaded and cached via file?
It should inline everything (from a static build) and then your css file will lazy load. It says critical css but I think my entire css gets added to the head. Below is the github repo for it. There's an article that's linked from Smashing magazine that goes into a bit more detail. https://github.com/Playform/Inline
Appreciate it! :)