datakick Posted September 9, 2019 Share Posted September 9, 2019 I have released new simple module to purge CloudFlare cache every time you clean cache in your back office. If you are using CloudFlare, I'm sure you know how annoying it is to login into your CloudFlare account to purge cache whenever you change something in your store. This module can help with that https://store.getdatakick.com/en/modules/cloudflare-cache-purger Link to comment Share on other sites More sharing options...
wakabayashi Posted September 9, 2019 Share Posted September 9, 2019 Nice! One question: Does this purge cache only when I manually delete cache in tb or does it also work when I upload a js file trough ftp? Link to comment Share on other sites More sharing options...
datakick Posted September 9, 2019 Author Share Posted September 9, 2019 No. This is really just a simple tool to purge *all* cloudflare assets together with prestashop cache. I agree that it would be much more useful to continuously watch files on server and invalidate modified ones, but that would be too much work. This is good enough for me (and I implemented this module primarily for myself and my clients, as it drives me crazy to constantly flush the cache 🙂) Link to comment Share on other sites More sharing options...
wakabayashi Posted September 9, 2019 Share Posted September 9, 2019 Yeah I thought so 🙂 But it works with multistore, right? Link to comment Share on other sites More sharing options...
datakick Posted September 9, 2019 Author Share Posted September 9, 2019 Yes, it works in multistore. You can assign different cloudflare zone to each store. When you clean cache in store context, it will pick up the right zone to purge. Link to comment Share on other sites More sharing options...
wakabayashi Posted September 10, 2019 Share Posted September 10, 2019 So I set up a token for all zones. But now I have to select a specific domain in your module. Is this correct how I am doing it? :S Edit: all clear. I just have to select a specific shop and then save... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now