No release in over a year
A Jekyll plugin to purge the cloudflare cache on build
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0
~> 3.0
>= 0.7, < 2.0
~> 3.18.1

Runtime

>= 3.7, < 5.0
 Project Readme

jekyll-cloudflare-cache-purge

Gem Version RSpec

Sends a request to cloudflare once jekyll has finished building your sire to clear the cache there.

Usage

Add the following to your site's Gemfile

gem 'jekyll-cloudflare-cache-purge'

Define two env vars on the system that builds and hosts your blog:

CLOUDFLARE_ZONE="<Get this value from your CF dashboard>"
CLOUDFLARE_API_TOKEN="<Create an api key just for purging the cache in CF>"

Once your blog has built, you should see a line appear in the build output that reads Cloudflare Cache: Purged