Leverage browser caching in Shopify

Highlighted
Shopify Expert
21 2 6

I'd like to "leverage browser caching" as recommended by PageSpeed. I can't find any resources on how to implement this in Shopify (can I edit the .htaacess for Shopify hosted site?) Can I do it?

Want to modify or custom changes on store for affordable price?
Hire us - https://experts.shopify.com/mandasa-technologies
Website: http://www.mandasa.in/
Email: info@mandasa.in
If helpful then please Like and Accept Solution.
0 Likes
Shopify Staff
Shopify Staff
119 0 9

Hi There! 

Victoria here from the Guru team!

We do not support leverage browser caching as that's not possible with the infrastructure of Shopify.

Our servers are very fast, though, and typically the only slowdown folks experience comes from their local internet connection, and not on the server side, which would seem to be what Google PageSpeed typically targets. The .htaccess file is not accessible with Shopify but generally the best way to increase your page speed is to compress large images on your page.

Often the browser caching notice on a speed test will be in relation to a specific app. If you do notice this, you can decide if you would like to keep the app or not :) 

Hope that helps! 

Victoria - Shopify Guru

Support@shopify.com

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


1 Like
Shopify Partner
245 9 49

Use something like webpagetest.org to find out what you really need to optimize

 

0 Likes
Shopify Partner
33 0 8

Hi,

if you need to optimise images, we released an app Crush.pics It's using lossless image compression, so your images will stay same as originals.

Compressing images will improve your PageSpeed score, here is one example from our test sites:

    • before compression PageSpeed score is 56/100https://goo.gl/HBg3ay

    • after compression PageSpeed score is 87/100https://goo.gl/fl3NXv

Cheers,
Dom

1 Like