How can i fix Leverage browser caching shopfiy?

Highlighted
New Member
3 0 0

Dear All,

I have looked into almost every platform to fix this problem but i couldn't find any solution.

Could anyone please help me to resolve to fix Leverage browser caching in shopify?

waiting for you kind answers

Thank in Advance.

0 Likes
Highlighted



1. In your Shopify Admin go to online store > themes > actions > edit code
2. In your theme.liquid file, find the <head> (press CTRL + F or command + F on Mac)
3. paste this code right below the <head> tag:

<!-- Leveraging Browser Caching -->
  <meta http-equiv="Expires" content="30" /> 


The meta data above means that document is considered expired after the specified date and time. If you set it to “0“, the browser will check for a fresh new document on each visit.
I reckon that 30 days is good enough.

Keep in mind that it may take a few days to update.

Kind regards,
Diego

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Needing urgent help? I am currently available for hire, same day response guaranteed: diego.boarutto.fortes@gmail.com
Highlighted
New Member
3 0 0

thank you for you kind reply i am gonna apply this solution you told me hope this would help with my issue

0 Likes