Rewrite File Optimizer

Powered Cache relies on the file-optimizer.php file, found in the plugin’s ‘includes’ directory, for optimizing CSS and JS files. Modifying the file optimizer offers several benefits: Example URL Without rewrite: Example URL With rewrite: If your server is compatible with .htaccess and you’ve enabled automatic .htaccess configuration, simply activating this feature is all you need […]

Read More

Image Dimensions

When a browser renders a web page, it initially loads the HTML and then pauses to download the images. If the dimensions for the images are specified, browsers can allocate the necessary space for those images on the page. If the dimensions for an image aren’t predetermined, then the browser will adjust the existing content […]

Read More

Prefetch Links

This feature aims to improve user experience by enhancing the performance of your website. The Prefetch Links feature will automatically prefetch URLs for links that appear in the viewport during idle time, resulting in significantly faster subsequent page loads. Prefetching Custom URLs Either using a helper method: Or using “powered_cache_link_prefetch_options” filter Plugin compatibility This feature […]

Read More

Page Cache Purging on Large Scale

Page cache purging is a vital process in the lifecycle of any website powered by a content management system. It involves clearing out the stored (or cached) versions of your web pages, to ensure that users are always served the most recent content. In large-scale web applications, managing cache purging can become a considerable task […]

Read More

JS Execution

Powered Cache offers deferred or/and delayed JS execution to solve “render blocking resource” problems. Defer The defer attribute is a boolean attribute that specifies that the script should be executed after the document has been parsed, but before firing DOMContentLoaded. <script defer src=”script.js”></script> When the script tag includes data-no-deferattribute, Powered Cache respects it and excludes […]

Read More

Remove Unused CSS

The “Remove Unused CSS” feature is a unique and valuable asset of the Powered Cache plugin. The purpose of this feature is to optimize your website’s performance by eliminating unnecessary CSS rules from your pages. This guide will walk you through what the feature does, why it’s important, and how to use it. What is […]

Read More

CLI Commands

Powered Cache Premium support WP_CLI commands to manage your website easily. You can access supported CLI commands by simply typing wp help powered-cache Subcommands: wp powered-cache criticalcss wp powered-cache preload (eg: preload homepage, posts, and taxonomy up to 1000 items for Spanish language, you can skip optional parameters) wp powered-cache purge Purge given post id […]

Read More

Licensing

Powered Cache licensing system works with a license key and domain of the WordPress installation. However, you don’t need an additional license for a multisite setup. Here are the details about licensing; a) If you are using Powered Cache for a regular WordPress installation, you just need one license key. b) If you are going […]

Read More

How To Enable CORS On RunCloud

If you are using Powered Cache on RunCloud (nginx) you will likely need to add CORS rules for CDN integration. Add a custom config and use “headers” as the configuration type 2. Add the configuration

Read More

Powered Cache Headers

Cache Status Header Powered Cache adds “X-Powered-Cache” header to show whether the request was served from the cache or not. For example, if a page is not cached, it will show “X-Powered-Cache: MISS” Cache Miss Reason As an addition to the cache status header, if the POWERED_CACHE_ENABLE_LOG enabled or POWERED_CACHE_MISS_REASON defined, it will add “X-Powered-Cache-Miss-Reason” […]

Read More