![]() WP Rocket will process any non-minified CSS rules and will apply the font-display: swap descriptor to the fonts, see more here. min in their filenames that also contain any will be optimized. min in the filename will still be hosted locally, but not further minified. Files hosted on a 3rd party domain and loaded via not be processed.Locally-hosted files loaded via will be processed and included in both the minified and combined files.This optimization is only applied on cached or optimized pages.If Combine is enabled, the combined file is inserted into the page just after the closing tag.If only Minify is enabled, the order of the files on the page does not change, we just replace the existing CSS files with their optimized version.Combined files use a random string in the filename each time it's regenerated, for cache busting purposes:.Minified files contain a query string ( ?ver=) with the last modified timestamp, for cache busting purposes.If you use WordPress multisite, the folder named /1/ will change to reflect the site number.The files are processed and the optimized versions are stored in: cache/min/1.This addresses browser caching warnings from speed testing tools and reduces the number of DNS resolutions needed. CSS hosted on a different domain) is hosted on your domain and processed by both the minify and combine settings. Inline CSS tags will not be processed, only CSS files.WP Rocket searches the HTML of the page and discovers CSS files in link tags.Combining is a best practice when your site uses HTTP/1 but not necessarily when using HTTP/2. When Combine CSS is enabled, all the CSS files are combined into 1 single CSS file, therefore reducing the number of HTTP requests on your site. ![]() Minification alone does not reduce the number of HTTP requests on your site. This makes the file size smaller, therefore faster to download. ![]() Minification is the process of removing white space and comments from code. Heads up! This article is aimed for WP Rocket versions before 3.15.įrom the 3.15 version, the Combine CSS files feature is not available in WP Rocket! What do "minify" and "combine" mean? Minify
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |