Welcome to the CloudFlare Purge Plugin repository. CF-Purge is a chrome extension that purges the cache for the current URL on CloudFlare enabled websites. You can find the Chrome extension here.
Please visit the "Cloudflare Purge Plugin" website at www.cf-purge.com to find more information.
The CloudFlare purge plugin uses the CloudFlare API to purge any page of a website that serves its contents through the CloudFlare CDN. After you set your CF e-mail and API key in the options, you can purge the cache of any page of your CF enabled website. After version 1.3, you can purge the entire cache for the domain of your current tab.
v1.8.0: Migrated the extension to use Chrome Manifest V3 for improved security and better compatibility with Google Chrome. Added a list of all user owned cloudflare zones for the current API key on the options page.
v1.7.0: Added the ability to have multiple Cloudflare tokens and select between different profiles. Fixed a bug with the domain parsing logic. Special thanks to the active members of the community for their great feedback.
v1.6.2: Refactored the way the extension makes asynchronous requests to the Cloudflare API to follow the Chrome safety requirements and use a background page.
v1.6.1: Added support for Cloudflare API Tokens. Please check https://www.cf-purge.com/token-setup.html to find out more.
v1.6.0: Code refactoring for the whole project. Better readability cleanly written and using the latest trends in JavaScript development.
v1.5.1: Added a new feature for managing CloudFlare DEV mode for your domains
v1.5.0: Added support for Mozilla Firefox
v1.4.3: Masked the API key input. Fixed issues with the parsing of second level domains in the URL.
v1.4.2: Added an option to show/hide the "Purge Entire Cache" button
v1.4.1: Fixed a critical issue when purging domains without a leading sub-domain
v1.4.0: Changed the design to reflect the new CloudFlare design guidelines. Refactored the extension code and optimized the API calls.
v1.3.6: Added the ability to purge multiple URLs from the options page
v1.3.5: Added a way to check the error message that gets returned from CloudFlare by clicking on the "Purge failed" red text
v1.3.4: Fixed an issue when trying to clear an apex domain.
v1.3.3: Changed the logic for the "Info" button to show the info even when some parts of it are missing
v1.3.2: Added a new "Info" button that shows the CloudFlare node, Ray ID and the current Cache-Control header values.
v1.3.1: Pushed a fix for a bug related to anchor links with spaces in the URL. Thanks to "solarroger".
v1.3: Added a new option to purge the whole cache for the domain of the current tab
v1.2.2: A small bug fix for the refresh functionality caused by auto updates.
v1.2.1: Added a new refresh timeout option that delays the page refresh.
v1.1: Includes a refresh function that refreshes the page on a successful purge
v1.0: The extension includes all the basic functionality that you need to purge the URL in your active tab.
If you have ideas and suggestions about this project you can post them on the CF-Purge extension page. You can also make a pull request and introduce code fixes and feature implementations. All pull requests will be reviewed and put in the following releases.
Copyright 2021 Tosho Toshev
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.