
A powerful and lightweight caching plugin for WordPress that improves website performance through page caching and HTML/CSS/JS minification.
| Author: | MD. Samrat Hossen (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.9.4 |
| Plugin version: | 1.0.0 |
| Added to WordPress repository: | 04-04-2026 |
| Last updated: | 04-04-2026 |
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | |
| Total downloads: | 25 |
![]() Click to start download |
|
Samrat Website Cache is a simple yet powerful caching solution designed to dramatically improve your WordPress website’s loading speed. By caching your pages as static HTML files and optionally minifying your code, visitors experience lightning-fast page loads.
Key Features
- Page Caching – Stores rendered pages as static HTML files for instant delivery
- HTML Minification – Removes unnecessary whitespace and comments from HTML
- CSS Minification – Minifies inline CSS styles for smaller file sizes
- JavaScript Minification – Minifies inline JavaScript code
- Logged-in User Cache – Optional caching for authenticated users
- Cache Expiry Control – Set custom cache lifetime from 1 hour to 1 week
- Page Exclusions – Exclude specific URLs from caching (supports wildcards)
- Cookie Exclusions – Skip caching when specific cookies are present
- One-Click Cache Clear – Clear all cache instantly from admin bar or settings
- WooCommerce Compatible – Pre-configured exclusions for cart, checkout, and account pages
- Auto-Clear Cache – Automatically clears cache when content is updated
Why Choose Samrat Website Cache?
- Lightweight – No bloated features, just essential caching that works
- Easy Setup – Works out of the box with sensible defaults
- Beautiful Admin UI – Modern, intuitive settings interface
- Developer Friendly – Clean, well-documented code
Perfect For
- Blogs and personal websites
- Business and portfolio sites
- WooCommerce stores (with proper exclusions)
- High-traffic websites
- Shared hosting environments
External Services
This plugin does not connect to any external APIs or third-party services. All caching is performed locally on your server — rendered pages are saved as static HTML files inside the plugin’s own cache/ directory and served directly from there.
WordPress REST API discovery links in cached content
WordPress core automatically injects a <link rel="https://api.w.org/"> tag and a link to xmlrpc.php into every page’s <head> section. When this plugin caches a page, those links are stored as part of the cached HTML exactly as WordPress generated them. This plugin does not itself send any data to api.w.org or any other remote host; it simply preserves whatever markup WordPress core has already rendered.
No user data is collected, transmitted, or processed by this plugin. If you need information about WordPress core’s own REST API or XML-RPC endpoints, please refer to:
- WordPress.org Privacy Policy: https://wordpress.org/about/privacy/
- WordPress.org Terms of Service: https://wordpress.org/about/license/
Additional Info
Minimum Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
Support
For support, please visit our website or create a support topic on the WordPress.org plugin page.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request on our GitHub repository.
FAQ
ChangeLog
