=== Samrat Website Cache === Contributors: emily50 Donate link: https://samrat-personal-portfolio.netlify.app/ Tags: cache, performance, speed, optimization, minify Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.0.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A powerful and lightweight caching plugin for WordPress that improves website performance through page caching and HTML/CSS/JS minification. == Description == **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? = 1. **Lightweight** - No bloated features, just essential caching that works 2. **Easy Setup** - Works out of the box with sensible defaults 3. **Beautiful Admin UI** - Modern, intuitive settings interface 4. **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 == Installation == = Automatic Installation = 1. Go to Plugins > Add New in your WordPress admin 2. Search for "Samrat Website Cache" 3. Click "Install Now" and then "Activate" 4. Go to Website Cache > Settings to configure = Manual Installation = 1. Download the plugin zip file 2. Go to Plugins > Add New > Upload Plugin 3. Upload the zip file and click "Install Now" 4. Activate the plugin 5. Go to Website Cache > Settings to configure = FTP Installation = 1. Download and extract the plugin zip file 2. Upload the `samrat-website-cache` folder to `/wp-content/plugins/` 3. Activate the plugin through the Plugins menu 4. Go to Website Cache > Settings to configure == Frequently Asked Questions == = Does this plugin work with WooCommerce? = Yes! The plugin comes with pre-configured exclusions for WooCommerce cart, checkout, and my-account pages. It also excludes pages when WooCommerce cart cookies are present. = Will caching break my dynamic content? = By default, the plugin excludes logged-in users from caching. If you have specific pages with dynamic content, add them to the "Exclude Pages" list in settings. = How do I clear the cache? = You can clear the cache in several ways: 1. Click "Clear All Cache" button on the settings page 2. Click "Cache > Clear Cache" in the admin bar 3. The cache automatically clears when you update posts or pages = Does this work with other caching plugins? = We recommend using only one page caching plugin at a time to avoid conflicts. Disable other caching plugins before activating Samrat Website Cache. = Is the minification safe? = The minification is designed to be safe and only removes unnecessary whitespace and comments. It preserves content in `
`, ``, `