What generates compiled_assets/styles.css ?

oreoorbitz
Shopify Partner
97 10 63

Sometimes when I work on client sites that file shows up, sometimes it doesn't, it's annoying since a client will see that there is a file under the "Eliminate Render blocking Resources" tab in PageSpeed Insights and will think I'm not doing my job, in one case the file is was totally empty, just take up a http request.

Why is this file created, and is there a trick to prevent it from being generated?

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes
0 Likes
MUTANGA
Tourist
9 1 3

 If i understood correctly, this file is generated by the {% stylesheet %} {% end stylesheet %} tags, usually found under the section settings schema. 

Check all your sections and try deleting the tags. Also, you might find similar tags for javascript. 

 

oreoorbitz
Shopify Partner
97 10 63

Thanks, I'll test if that's true.

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes
0 Likes