2

I have a CMS block that shows three images, top.jpg, mid.jpg, and bottom.jpg.

The CMS block contains:

..and so forth..

My idea was to keep the same names so someone in charge of the content could just ftp the files with new content as necessary.. but then I found out about the issue that they are not refreshed by the browsers after the first time they showed the page, because the browsers understand that they already have the files in cache.

What is the best way to manage a need this in Magento? I am running M2 ver 2.1. Any help will be appreciated.

Thanks! AC

0

You'll need to set the http headers to control the end users and CDN caches. Which usually involves using mod_rewrite headers in apace or such in nginx. Using an HTML meta tag isn't recommended as proxies/CDN won't recognize it.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.