Announcement

Collapse
No announcement yet.

Cloudflare Clear Cache Button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cloudflare Clear Cache Button

    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)
    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

    #2
    Originally posted by lesliekirk View Post
    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)
    I would like to second, third, fourth to a millionth this post
    Jamie Donaldson
    JSDVS Web Design / Development
    Web Design | Web Development | E-commerce Design & Integration

    Comment


      #3
      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.
      David Hubbard
      CIO
      Miva
      [email protected]
      http://www.miva.com

      Comment


        #4
        Originally posted by ILoveHostasaurus View Post
        Can 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.
        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).

        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


          #5
          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.
          David Hubbard
          CIO
          Miva
          [email protected]
          http://www.miva.com

          Comment


            #6
            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

            Working...
            X