It would be so great if a Cloudflare Clear Cache button could find its way into the Miva admin (similar to the Redis Cache button & link)
Announcement
Collapse
No announcement yet.
Cloudflare Clear Cache Button
Collapse
X
-
Cloudflare Clear Cache Button
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
I would like to second, third, fourth to a millionth this postOriginally posted by lesliekirk View PostIt would be so great if a Cloudflare Clear Cache button could find its way into the Miva admin (similar to the Redis Cache button & link)Jamie Donaldson
JSDVS Web Design / Development
Web Design | Web Development | E-commerce Design & Integration
- 1 like
-
Can you please describe the use case? Reason I'm asking is because typically the cacheable content would also be using cache-busting query strings. For example, managed JS and CSS resources include a T= string that changes when the content changes, which should automatically bypass cache. Normal shopper-facing pages are served with cookies and are therefore not cacheable unless a highly dangerous setting has been put in place.
Comment
-
I am working with a store owner who is trying to make product and category updates to her site. She makes the updates, but then no one can see them because Cloudflare has everything cached. In order to see these changes immediately, someone must go into CloudFlare and clear the cache. Sure, Cloudflare can be put into the 3-hour Development mode, but things happen, stuff doesn't get done within the window (and you have to log into the CloudFlare admin in order to change the setting).Originally posted by ILoveHostasaurus View PostCan you please describe the use case? The reason I'm asking is because typically the cacheable content would also be using cache-busting query strings. For example, managed JS and CSS resources include a T= string that changes when the content changes, which should automatically bypass cache. Normal shopper-facing pages are served with cookies and are therefore not cacheable unless a highly dangerous setting has been put in place.
Making matters more complicated, not all store owners want to mess with anything outside of their admin. Sure, I don't mind the work, but even to me, this is something simple that a store owner should be able to do all from one location.
I'm just thinking of the store owner and trying to make their life a little easier.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
If that is occurring, someone has created a very dangerous custom cache rule for the site in question. Category and product pages, or any shopper-facing page from Miva Merchant, are served with a cookie, and that causes Cloudflare to treat it as dynamic content that is never cached. Only a dangerous and explicit override set at Cloudflare could cause such content to be cached, which would then include shopper-specific content that should never be seen by a different shopper. I would recommend sending me the site in question via Slack or email so I can have someone investigate.
Comment
-
ILoveHostasaurus David, I have sent you an email. I truly hope it's just me not understanding something.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
Comment