blackbird/magento-2-clean-cloudflare-image-cache

Use Cloudflare API to purge image cache url at product save.

Installs: 1 684

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 1

Open Issues: 0

Type:magento2-module

pkg:composer/blackbird/magento-2-clean-cloudflare-image-cache

1.0.3 2024-12-09 13:31 UTC

This package is auto-updated.

Last update: 2025-10-09 15:18:26 UTC


README

magento-2-clean-cloudflare-image-cache

Latest Stable Version License: MIT

This module depend on blackbird/magento-2-clean-product-image-cache

Problem : if changed images url is cached by Cloudflare, you need to purge manually these URLs in Cloudflare to see the new image.

Solution : this module which clean product image cached by Cloudflare.

How It WorksInstallationConfigurationSupportContactLicense

How It Works

When you save a product in the back-office it will call Cloudflare API to purge image URL cache.

Installation

composer require blackbird/magento-2-clean-cloudflare-image-cache
php bin/magento setup:upgrade

In production mode, do not forget to recompile and redeploy the static resources.

Configuration

In the Back-Office in System > Configuration > Blackbird > Clean Image Cache > Cloudflare :

img.png

After that you just need to clean you Config cache and all is done !

Support

Contact

For further information, contact us:

License

This project is licensed under the MIT License - see the LICENSE file for details.

That's all folks !