Header set Content-Encoding "gzip" env=is_gzip #Serve correct content types, and prevent mod_deflate double gzip. #Serve gzip compressed JS files if they exist and the client accepts gzip. Here is how to use these files in Apache: #Serve gzip compressed CSS files if they exist and the client accepts gzip. Your webserver may need to be configured to use these files. Version 1.7.0 added the ability to generate. Use MMR_JS_CACHE_URL & MMR_CSS_CACHE_URL to replace MMR_CACHE_URL. Version 1.6.11 added the ability to specify seperate cache urls for javascript and CSS. MMR_CACHE_DIR must be full server path and MMR_CACHE_URL must be absolute URL for this to work correctly (thanks to Daniel Aleksandersen). Set MMR_CACHE_DIR & MMR_CACHE_URL constants in wp-config.php. Version 1.6.9 added the ability to specify the cache directory. Version 1.6 added support for HTTP2 Server Push to further speed up your requests (thanks to Daniel Aleksandersen). Merge + Minify + Refresh Check DIVI, Merge + Minify + Refresh Check Visual Composer and Merge + Minify + Refresh Check Beaver Builder. Three new plugins have been created that utilise this: You could use this to disable MMR for certain WordPress roles or with some Page Builders. Version 1.10 added should_mmr filter which allows developers to disable MMR when needed. In order to ensure fast loading times its recommended to set long expiry dates for CSS and JS as well as make sure gzip or deflate is on. Minification by Minify and Google Closure Inspired by MinQueue and Dependency Minification plugins. When JS or CSS changes files are re-processed. Minification is done via WP-Cron so that it doesn’t slow down the website. It then minifies the generated files using Minify (for CSS) and Google Closure (for JS – fallback to Minify when not available). This plugin merges/concatenates Cascading Style Sheets & Javascript files into groups.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |