WP Manifestindependent plugin directory
manifest / performance / advanced-cache-for-wordpress

Smart Cache

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mrshahbazdev/advanced-cache-for-wordpress/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Smart Cache — Advanced WordPress Cache Plugin

Smart Cache is a free, advanced WordPress caching plugin built with React 18, Vite, and Material UI v5. It delivers page caching, object/DB cache wrappers, CDN rewrite, Cloudflare purge, image and frontend optimizations, heartbeat control, cache preload, and a real-time analytics dashboard — with all premium-equivalent features included free.

Free Features (No Pro Version)

  • Page cache engine with Simple & Expert modes
  • Configurable TTL and cache exclusions by URL, user agent, cookie, query parameter, and post type
  • Mobile device cache separation
  • Object cache and database query cache wrappers
  • CDN URL rewrite for static assets
  • Cloudflare cache purge integration
  • HTML minification, lazy loading images, async image decoding, JS defer
  • Heartbeat interval and Cache-Control max-age controls
  • One-click cache clear and cache preload
  • Real-time analytics dashboard with hit/miss/generated charts
  • REST API for all settings, stats, clear, preload, and Cloudflare purge

Installation

  1. Download advanced-cache-for-wordpress.zip.
  2. In WordPress admin go to Plugins → Add New → Upload Plugin.
  3. Activate Smart Cache.
  4. Click Smart Cache in the admin menu.

Screenshots

Cache Dashboard Real-time cache dashboard showing hit rate, cached files, and cache status.

Page Cache Settings Page cache settings: enable/disable, mode, TTL, and exclusion rules.

CDN & Cloudflare CDN URL rewrite and Cloudflare cache purge.

Frontend Optimizations Toggle HTML minify, lazy load, defer JS, DB cache, object cache, heartbeat, and Cache-Control.

Cache Preload One-click cache preload to warm public pages.

Analytics Chart Bar chart of cache hits, misses, and generated files.

REST API

Namespace: sac/v1

Endpoint Method Description
/settings GET, PUT Read or update settings
/stats GET Read cache statistics
/clear POST Clear all page cache files
/preload POST Schedule cache preload cron
/cloudflare/purge POST Purge Cloudflare cache by zone and token

Example:

curl -H "X-WP-Nonce: <nonce>" \
  "http://example.com/?rest_route=/sac/v1/stats"

Requirements

  • WordPress 6.0+
  • PHP 7.4+
  • Modern browser for the React admin UI

License

GPL-2.0-or-later