m2-oh / module-cloudflare
N/A
Package info
github.com/oh-ecommerce-agency/m2-oh-cloudflare
Type:magento2-module
pkg:composer/m2-oh/module-cloudflare
v1.0.3
2023-05-11 10:57 UTC
Requires
- php: >=7.4
- cloudflare/sdk: ^1.3
- m2-oh/module-core: *
- magento/framework: *
This package is auto-updated.
Last update: 2026-02-11 16:56:58 UTC
README
- Flush Cache
- Flush Cache Storage
- Flush JavaScript/CSS Cache
- Get IP directly from Cloudflare header HTTP_CF_CONNECTING_IP
Works also for CLI
Steps to configure
- Enable the module
- Complete Authentication email and key and save
- After page reload, select zones to purge cache
Get Auth key from https://dash.cloudflare.com/profile > API Tokens > Global API Key
Module installation
composer require m2-oh/module-cloudflare