Modular suite for advanced Cloudflare cache management, edge caching, and flexible CDN routing for modern web applications.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Cloudflare Smart Tools is a comprehensive collection of modules designed to supercharge your Cloudflare setup with advanced caching strategies, edge optimization, and intelligent CDN routing. Whether you're running a WordPress site, building a modern web application, or managing complex CDN requirements, these tools provide the flexibility and power you need.
- CF Bypass Cache: Ready-to-use Cloudflare cache bypass rules for WordPress, Laravel, ASP.NET, and generic web apps.
Documentation | View Rules - CF Smart Cache: WordPress plugin for intelligent edge HTML caching, automatic purging, and advanced admin controls.
Documentation | Download Plugin - CF Smart CDN Workers: KV-based Cloudflare Worker for dynamic CDN proxying and routing (deprecated).
Documentation
- Cloudflare Rules Language
- PHP (WordPress plugin)
- JavaScript (Cloudflare Workers)
- Markdown Documentation
- Cloudflare account (free or paid)
- For WordPress plugin: PHP 7.4+, WordPress 5.0+
- For Workers: Cloudflare Workers subscription (optional KV storage)
- Cloudflare API token or Global API key
- Browse the cache bypass rules
- Copy the appropriate
.rulesfile content fromcf-bypass-cache/ - Paste into your Cloudflare dashboard under Rules → Cache Rules
- Download the Smart Cache plugin
- Copy the
cf-smart-cachefolder to your WordPresswp-content/plugins/directory - Activate the plugin in WordPress Admin
- Configure with your Cloudflare API credentials
- Deploy the CDN Worker
- Configure KV namespace and routing rules as needed
- Use cache bypass rules to ensure dynamic content is always fresh
- Install the Smart Cache plugin for edge HTML caching and automatic purging on WordPress
- Refer to the documentation site for detailed guides, examples, and advanced configuration
See website/README.md for more usage examples and architecture diagrams.
- Modular cache bypass rules
- WordPress edge HTML caching plugin
- KV-based CDN proxy worker
- Comprehensive documentation
- REST API for cache management
- Advanced analytics dashboard
- Visual rule management UI
- Multi-language support
See the open issues for a full list of proposed features and known issues.
Contributions are welcome! Please fork the repo and submit a pull request, or open an issue for suggestions and improvements.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
See website/modules/cf-bypass-cache.md for rule contribution guidelines.
Distributed under the MIT License. See LICENSE for more information.
LoveDoLove - @LoveDoLove
Project Link: https://github.com/LoveDoLove/cloudflare-smart-tools
- Cloudflare for their platform
- WordPress Community
- Open Source Contributors
- Best-README-Template