adpeate / module-cloudflare

A Magento 2 module that purges the website's Cloudflare cache when flushing the cache storage in the Magento admin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magento 2 - Cloudflare Module

Overview

A Magento 2 module that purges the website's Cloudflare cache when flushing the cache storage in the Magento admin.

Requirements

Magento Open Source (CE) Version 2.1.x, 2.2.x

Installation

Include the package.

$ composer require sussexdev/module-cloudflare

Enable the module.

$ php bin/magento module:enable SussexDev_Cloudflare
$ php bin/magento setup:upgrade
$ php bin/magento cache:clean

Usage

Head to Stores -> Configuration -> Advanced -> Developer -> Purge Cloudflare Cache to enable the module and add your Cloudflare credentials.

Within System -> Cache Management, click on Flush Cache Storage.

About

A Magento 2 module that purges the website's Cloudflare cache when flushing the cache storage in the Magento admin.

License:MIT License


Languages

Language:PHP 100.0%