Skip to content

Cloudflare Smart Cache

Tagline: Accelerate your WordPress site with advanced Cloudflare edge caching, security, and admin controls.

Welcome to the Cloudflare Smart Cache plugin documentation.

Current Version: 2.5.0 — OOP architecture rewrite with 6 focused classes, AJAX admin interface (zero page reloads), real-time activity log with 5-second auto-refresh, auto-configuration wizard, selective purge by post type, cache hit rate alert, scheduled full-site purge, PHPUnit test framework, and developer hooks documentation.

Introduction

Cloudflare Smart Cache is a WordPress plugin designed to optimize site performance and security by leveraging Cloudflare's edge caching and API capabilities. It serves HTML pages from Cloudflare's edge for non-logged-in visitors, automatically purges cache on content changes, and provides a full AJAX admin interface with zero page reloads.

Key features include edge HTML caching with dynamic TTL, automatic cache purging on post/category/menu/theme changes, selective purge by post type, cache hit rate alerts, scheduled full-site purge via WP-Cron, real-time activity log with AJAX auto-refresh, one-click auto-configuration wizard, security headers, rate limiting, PHPUnit test suite, and comprehensive developer hooks.