What generates compiled_assets/styles.css ?

oreoorbitz
Shopify Partner
242 29 129

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



You can also contact me directly if you prefer.
Replies 3 (3)

MUTANGA
Shopify Partner
11 1 6

 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
242 29 129

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



You can also contact me directly if you prefer.
air
Visitor
1 0 1

removing those tags worked for me, thanks