Easy CloudFlare

Price: €12.09
Tax included
€9.99 tax excluded
Keeps your store reachable when ISPs block Cloudflare IPs: it detects the block and turns off the proxy automatically. Purges the Cloudflare cache when you clear the PrestaShop cache. Multistore.

Instant download after payment

Share

Does your store disappear during football matches?

If you use Cloudflare on your PrestaShop store, you've probably already been through this: in the middle of a La Liga matchday, hundreds of customers can't reach your website. It's not your fault. The major Spanish ISPs (Movistar, Vodafone, Orange...) cut off access to Cloudflare IPs under court order to block pirate streaming sites — and your store gets caught in the crossfire.

Easy CloudFlare solves this problem automatically, without you having to do anything.

How it works

The module checks whether the specific IPs your domain resolves to are being blocked, querying two independent sources that specialize in tracking these blocks in Spain: deinser.com and hayahora.futbol. If the block affects other Cloudflare IPs that aren't yours, nothing is changed.

As soon as it detects that your store is affected, it turns off the Cloudflare proxy and your website is back up in seconds, serving traffic directly from your server.

No flapping in and out of service

Here's the difference. Once the proxy is turned off, your domain no longer points to Cloudflare, so any check would say the block is over. A naive module would turn the proxy back on, your store would be blocked again, and so on, over and over, for the whole match.

Easy CloudFlare remembers the Cloudflare IPs your store was being served from when the block started and monitors those IPs until they're cleared. The proxy stays off for the entire blocking window, with just one change at the start and another at the end. Your store stays reachable continuously, not on and off.

Multistore

Each store in your installation is checked with its own configuration: its domain, its Cloudflare zone and its DNS record. A block affecting your Spanish store doesn't touch the proxy of your Portuguese one. Settings saved in the "All shops" context act as defaults, so you can enter the API Token once and have every store inherit it.

Activity log

Optional. When enabled, every proxy change is recorded in Advanced Parameters > Logs in your Back Office, with the reason, the domain and the IPs involved. Only actual changes are logged, so you get a readable history of what the module has done rather than a trace of every run.

Cloudflare cache purge

When you clear the PrestaShop cache, Cloudflare keeps serving the old copies of your CSS, JS and images. Easy CloudFlare can purge the Cloudflare cache at that same moment, either just your store's hostname or the whole zone, whichever you prefer. And if you need to do it by hand, a button in the module configuration purges it instantly.

Manual control too

The module configuration includes a switch to turn the Cloudflare proxy on or off with a single click. No logging into the Cloudflare dashboard, no hunting through menus, no trying to remember which zone it was.

24/7 protection with a cron job

Automatic detection runs through a console command that you can schedule as a cron job. Run it every 5 minutes and the module handles everything: detecting the block, turning off the proxy and restoring it as soon as the problem is gone.

*/5 * * * * php /path/to/your/prestashop/bin/console easycf:check-blocking

All active stores are checked. If you prefer, you can limit the run to some of them with --shop=1,3.

Set up in 2 minutes

All you need is your Cloudflare API Token (with DNS edit permission and, if you want to purge the cache, cache purge permission), your domain's Zone ID and the name of the DNS record you want to manage. From there, the module does the rest.

Requirements

  • PrestaShop 1.7.8 or higher
  • Cloudflare account with your domain set up
  • Cloudflare API Token with Zone > DNS > Edit permission (plus Zone > Cache Purge for cache purging)
  • Access to cron jobs on the server (for automatic detection)

Block detection uses the public services of deinser.com and hayahora.futbol. We're grateful for their work in keeping these tools available to the community.

  • Reference
    easycf-v1.2.0

Comments (0)

No customer reviews for the moment.

4 other products in the same category

Easy Show Coupons
€48.40
Rated out of 5 stars based on review(s)
Easy Kelkoo Tracking
€12.09
Rated out of 5 stars based on review(s)
Easy Messenger
€36.30
Rated out of 5 stars based on review(s)
Loading...
Back to top