by peterarends on WordPress.org
Simple, blazing fast static page cache for WordPress. Caches HTML for non-logged-in users with intelligent cache clearing for e-commerce sites.
Simple Page Cache is an extremely simple, super-fast page cache for WordPress. The plugin stores full HTML pages on disk for non-logged-in visitors. The cache is automatically cleared when content is updated, ensuring visitors always see fresh content. Ideal for small to medium-sized sites and webshops that want maximum speed without complex settings.
Main features:
– Caching for non-logged-in users (GET requests only)
– Path-based cache structure for nginx direct serving (/host/path/index.html)
– Cache files are stored in /wp-content/uploads/simple-page-cache/
– Drop-in (advanced-cache.php) for maximum speed before WordPress loads
– Nginx configuration generation for direct cache serving
– Automatic cache clearing when posts/pages are updated
– E-commerce integration with intelligent cache clearing for:
– WooCommerce (orders, stock updates, product changes)
– Easy Digital Downloads (purchases, download updates)
– BigCommerce for WordPress (product updates)
– Generic e-commerce plugins (product post types)
– Automatic detection of dynamic pages (cart, checkout, account, wishlist) for:
– WooCommerce
– BigCommerce for WordPress
– Easy Digital Downloads
– iThemes Exchange
– Jigoshop
– WP-Shop
– Detected dynamic pages are automatically excluded from caching
– Manual cache clearing via admin bar button
– Nginx config regeneration via admin bar button
– Performance comments in cached HTML files
– No complex settings, no database writes
For maximum performance, you can configure nginx to serve cached files directly without PHP processing:
/wp-content/uploads/simple-page-cache/nginx.confsudo nginx -tsudo systemctl reload nginxThe nginx configuration includes:
– Internal location block for serving cached files
– Automatic cache bypass for logged-in users
– Automatic cache bypass for requests with query strings
– Debug headers to identify cache hits
Benefits of nginx direct serving:
– Faster response times (no PHP processing)
– Lower server load
– Better scalability
– Direct file serving from disk
/host/path/index.html for direct nginx serving.advanced-cache.php is removed.define('WP_CACHE', true); line (if placed by this plugin) is removed from wp-config.php.