Render-blocking resources, explained
A stylesheet in the head holds up painting, because the browser wants to avoid showing unstyled content. A normal script in the head pauses HTML parsing until it has run.
For scripts, the usual fixes are the defer and async attributes. Defer runs the script after the HTML is parsed, in order. Async runs it as soon as it arrives.
For CSS, keep files small and remove what is unused. Some sites inline the small amount needed for the first screen and load the rest later, but that is not always worth the effort.
Tools such as Lighthouse and PageSpeed Insights list these files. Not all can or should go, since some CSS is needed to paint properly.



