cancel
Showing results for 
Search instead for 
Did you mean: 

Catche/History issue

Catche/History issue

Is there any technical way where I can do something where i do not need to clear cookies or catche and system works. The problem which I face is that I browse my website a lot for testing, both the test and production. When I added soem products to cart, it doesnt appear. However when I clear catche/history it shows. I can do this but the cutomer is too lazy to do this.

1 REPLY 1

Re: Catche/History issue

Hi @richa_kapoor 

Magento 2 has this ability built-in called "Sign Static Files". It doesn't use the query string, but uses a generated sub folder starting with "version....", but basically the same idea. You can find it here... Stores > Configuration > Advanced > Developer > Static Files Settings > Sign Static Files

For more info:
https://docs.magento.com/m2/ce/user_guide/system/static-file-signature.html

I hope it will help you!