{"id":283799,"date":"2026-04-04T06:26:31","date_gmt":"2026-04-04T06:26:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/samrat-website-cache\/"},"modified":"2026-04-04T06:26:22","modified_gmt":"2026-04-04T06:26:22","slug":"samrat-website-cache","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/samrat-website-cache\/","author":23189174,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Samrat Website Cache","header_author":"Samrat Hossen","header_description":"A powerful caching plugin for WordPress to improve website performance by caching pages, minifying HTML\/CSS\/JS, and more.","assets_banners_color":"18212f","last_updated":"2026-04-04 06:26:22","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/samrat-personal-portfolio.netlify.app\/","header_plugin_uri":"","header_author_uri":"https:\/\/samrat-personal-portfolio.netlify.app\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":36,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"emily50","date":"2026-04-04 06:26:22"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Samrat Website Cache. Install to improve your website&#039;s performance!<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3498599,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3498599,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Settings page with cache statistics and configuration options","2":"Clear cache page with one-click cache clearing","3":"Admin bar quick access to cache settings and clear function","4":"Beautiful toggle switches for easy configuration","5":"Cache statistics showing cached pages and total size"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,1736,187,247,794],"plugin_category":[52,54],"plugin_contributors":[254156],"plugin_business_model":[],"class_list":["post-283799","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-minify","plugin_tags-optimization","plugin_tags-performance","plugin_tags-speed","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-emily50","plugin_committers-emily50"],"banners":{"banner":"https:\/\/ps.w.org\/samrat-website-cache\/assets\/banner-772x250.png?rev=3498599","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/samrat-website-cache\/assets\/icon-256x256.png?rev=3498599","icon_2x":"https:\/\/ps.w.org\/samrat-website-cache\/assets\/icon-256x256.png?rev=3498599","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Samrat Website Cache<\/strong> 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.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Page Caching<\/strong> - Stores rendered pages as static HTML files for instant delivery<\/li>\n<li><strong>HTML Minification<\/strong> - Removes unnecessary whitespace and comments from HTML<\/li>\n<li><strong>CSS Minification<\/strong> - Minifies inline CSS styles for smaller file sizes<\/li>\n<li><strong>JavaScript Minification<\/strong> - Minifies inline JavaScript code<\/li>\n<li><strong>Logged-in User Cache<\/strong> - Optional caching for authenticated users<\/li>\n<li><strong>Cache Expiry Control<\/strong> - Set custom cache lifetime from 1 hour to 1 week<\/li>\n<li><strong>Page Exclusions<\/strong> - Exclude specific URLs from caching (supports wildcards)<\/li>\n<li><strong>Cookie Exclusions<\/strong> - Skip caching when specific cookies are present<\/li>\n<li><strong>One-Click Cache Clear<\/strong> - Clear all cache instantly from admin bar or settings<\/li>\n<li><strong>WooCommerce Compatible<\/strong> - Pre-configured exclusions for cart, checkout, and account pages<\/li>\n<li><strong>Auto-Clear Cache<\/strong> - Automatically clears cache when content is updated<\/li>\n<\/ul>\n\n<h4>Why Choose Samrat Website Cache?<\/h4>\n\n<ol>\n<li><strong>Lightweight<\/strong> - No bloated features, just essential caching that works<\/li>\n<li><strong>Easy Setup<\/strong> - Works out of the box with sensible defaults<\/li>\n<li><strong>Beautiful Admin UI<\/strong> - Modern, intuitive settings interface<\/li>\n<li><strong>Developer Friendly<\/strong> - Clean, well-documented code<\/li>\n<\/ol>\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li>Blogs and personal websites<\/li>\n<li>Business and portfolio sites<\/li>\n<li>WooCommerce stores (with proper exclusions)<\/li>\n<li>High-traffic websites<\/li>\n<li>Shared hosting environments<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin does <strong>not<\/strong> connect to any external APIs or third-party services. All caching is performed locally on your server \u2014 rendered pages are saved as static HTML files inside the plugin's own <code>cache\/<\/code> directory and served directly from there.<\/p>\n\n<p><strong>WordPress REST API discovery links in cached content<\/strong><\/p>\n\n<p>WordPress core automatically injects a <code>&lt;link rel=\"https:\/\/api.w.org\/\"&gt;<\/code> tag and a link to <code>xmlrpc.php<\/code> into every page's <code>&lt;head&gt;<\/code> 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 <code>api.w.org<\/code> or any other remote host; it simply preserves whatever markup WordPress core has already rendered.<\/p>\n\n<p>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:<\/p>\n\n<ul>\n<li>WordPress.org Privacy Policy: https:\/\/wordpress.org\/about\/privacy\/<\/li>\n<li>WordPress.org Terms of Service: https:\/\/wordpress.org\/about\/license\/<\/li>\n<\/ul>\n\n<h3>Additional Info<\/h3>\n\n<h4>Minimum Requirements<\/h4>\n\n<ul>\n<li>WordPress 5.0 or higher<\/li>\n<li>PHP 7.4 or higher<\/li>\n<\/ul>\n\n<h4>Support<\/h4>\n\n<p>For support, please visit <a href=\"https:\/\/samrat-personal-portfolio.netlify.app\/\">our website<\/a> or create a support topic on the WordPress.org plugin page.<\/p>\n\n<h4>Contributing<\/h4>\n\n<p>Contributions are welcome! Please feel free to submit a Pull Request on our GitHub repository.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Go to Plugins &gt; Add New in your WordPress admin<\/li>\n<li>Search for \"Samrat Website Cache\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<li>Go to Website Cache &gt; Settings to configure<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Go to Plugins &gt; Add New &gt; Upload Plugin<\/li>\n<li>Upload the zip file and click \"Install Now\"<\/li>\n<li>Activate the plugin<\/li>\n<li>Go to Website Cache &gt; Settings to configure<\/li>\n<\/ol>\n\n<h4>FTP Installation<\/h4>\n\n<ol>\n<li>Download and extract the plugin zip file<\/li>\n<li>Upload the <code>samrat-website-cache<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin through the Plugins menu<\/li>\n<li>Go to Website Cache &gt; Settings to configure<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20work%20with%20woocommerce%3F\"><h3>Does this plugin work with WooCommerce?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"will%20caching%20break%20my%20dynamic%20content%3F\"><h3>Will caching break my dynamic content?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"how%20do%20i%20clear%20the%20cache%3F\"><h3>How do I clear the cache?<\/h3><\/dt>\n<dd><p>You can clear the cache in several ways:\n1. Click \"Clear All Cache\" button on the settings page\n2. Click \"Cache &gt; Clear Cache\" in the admin bar\n3. The cache automatically clears when you update posts or pages<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20other%20caching%20plugins%3F\"><h3>Does this work with other caching plugins?<\/h3><\/dt>\n<dd><p>We recommend using only one page caching plugin at a time to avoid conflicts. Disable other caching plugins before activating Samrat Website Cache.<\/p><\/dd>\n<dt id=\"is%20the%20minification%20safe%3F\"><h3>Is the minification safe?<\/h3><\/dt>\n<dd><p>The minification is designed to be safe and only removes unnecessary whitespace and comments. It preserves content in <code>&lt;pre&gt;<\/code>, <code>&lt;code&gt;<\/code>, <code>&lt;textarea&gt;<\/code>, <code>&lt;script&gt;<\/code>, and <code>&lt;style&gt;<\/code> tags. However, if you experience any issues, you can disable minification individually for HTML, CSS, or JS.<\/p><\/dd>\n<dt id=\"how%20do%20i%20exclude%20a%20page%20from%20caching%3F\"><h3>How do I exclude a page from caching?<\/h3><\/dt>\n<dd><p>Go to Website Cache &gt; Settings, find the \"Exclude Pages\" field, and add the URL path (one per line). For example:\n* <code>\/contact\/<\/code> - Excludes the contact page\n* <code>\/api\/*<\/code> - Excludes all URLs starting with \/api\/<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20multisite%3F\"><h3>Does this plugin support multisite?<\/h3><\/dt>\n<dd><p>The plugin works on multisite installations, but each site needs to be configured individually.<\/p><\/dd>\n<dt id=\"how%20can%20i%20verify%20the%20cache%20is%20working%3F\"><h3>How can I verify the cache is working?<\/h3><\/dt>\n<dd><p>View the page source of a cached page. At the bottom, you'll see a comment like:\n    <!-- Cached by Samrat Website Cache on 2024-01-15 10:30:00 --><\/p>\n\n<p>You can also check the response headers for <code>X-Samrat-Cache: HIT<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Page caching with static HTML files<\/li>\n<li>HTML, CSS, and JavaScript minification<\/li>\n<li>Configurable cache expiry (1 hour to 1 week)<\/li>\n<li>Exclude pages by URL pattern<\/li>\n<li>Exclude by cookies<\/li>\n<li>Toggle caching for logged-in users<\/li>\n<li>WooCommerce compatibility<\/li>\n<li>Auto-clear cache on content updates<\/li>\n<li>Admin bar integration<\/li>\n<li>Modern, responsive admin UI<\/li>\n<\/ul>","raw_excerpt":"A powerful and lightweight caching plugin for WordPress that improves website performance through page caching and HTML\/CSS\/JS minification.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/283799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=283799"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/emily50"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=283799"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=283799"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=283799"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=283799"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=283799"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=283799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}