blackbird/magento-2-clean-cloudflare-image-cache
最新稳定版本:1.0.5
Composer 安装命令:
composer require blackbird/magento-2-clean-cloudflare-image-cache
包简介
Use Cloudflare API to purge image cache url at product save.
README 文档
README
magento-2-clean-cloudflare-image-cache
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 Works • Installation • Configuration • Support • Contact • License
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 :
- Email : mail use for your Cloudflare account
- API Key : can be find here https://dash.cloudflare.com/profile/api-tokens
- Zone ID : visible in the Overview page in API Section https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/
After that you just need to clean you Config cache and all is done !
Support
- If you have any issue with this code, feel free to open an issue.
- If you want to contribute to this project, feel free to create a pull request.
Contact
For further information, contact us:
- by email: hello@bird.eu
- or by form: https://black.bird.eu/en/contacts/
License
This project is licensed under the MIT License - see the LICENSE file for details.
That's all folks !
统计信息
- 总下载量: 1.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-17
