cancel
Showing results for 
Search instead for 
Did you mean: 

banner is cached

former_member658721
Participant
0 Kudos

Hello,

I have a banner in the storefront and if I go delete the banner from back office / cms cockpit the change is not reflecting in store front until I clear the cache.

How do I clear the cache so that I don't need to manually clear the cache when I delete the banner?

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member658721
Participant
0 Kudos

Thanks for your response Ashok. Let me try the option that you provided.

0 Kudos

There is many way to not cache content in browser and you can use them. Ex.

 <meta http-equiv="cache-control" content="max-age=0" />
 <meta http-equiv="cache-control" content="no-cache" />
 <meta http-equiv="expires" content="0" />

but before using these. could you please debug your code and check, when you refreshing page, request is coming on your component controller or not.

Thanks

former_member658721
Participant
0 Kudos

Hi Luke - Thanks for your response. I didn't expect the answer from you like that. I know if we use Incognito then it will work. My question was how do make sure it will work in all the browsers without any caching. Is there some thing on server side or client side in the code we can set some parameter to not cache the content?

former_member387866
Active Contributor
0 Kudos

Hi SasiReddy,

You could try using Incognito Mode on your browser. The cookies and cache are deleted when you close the Incognito Window.

Regards,
Luke