m2-oh/module-cloudflare

N/A

v1.0.3 2023-05-11 10:57 UTC

This package is auto-updated.

Last update: 2024-04-11 12:55:47 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

  1. Enable the module
  2. Complete Authentication email and key and save
  3. 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