thathoff / kirby-clear-cloudflare-cache Goto Github PK
View Code? Open in Web Editor NEWKirby 3 Plugin to Clear Cloudflare Page Cache
License: MIT License
Kirby 3 Plugin to Clear Cloudflare Page Cache
License: MIT License
The regular Cloudflare API key can be used to update everything in the Cloudflare account. It should be possible to use a limited API Token (with Zone.Cache Purge rights) for this plugin.
API Tokens use the standard Authorization: Bearer
header for authentication instead of x-auth-email
and x-auth-key
that API Keys use.
I would propose to provide another config option cloudflareAPIToken
to provide the token and authenticate the request to Cloudflare like written above.
Kirby 3.4.0 introduced new variable handling for hooks which breaks hooks if the variable names are not used as provided in the documentation.
https://github.com/getkirby/kirby/releases/tag/3.4.0 (see Big hook improvements & wildcard hooks).
How do you deal with thumbnails and cloudflare?
When the thumbnail has not been created yet, cloudflare returns kirby error page in his cache most of the time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.