Linux 软件免费装
Banner图

Merge + Minify + Refresh

开发者 launchinteractive
更新时间 2024年7月29日 11:25
捐献地址: 去捐款
PHP版本: 3.6.1 及以上
WordPress版本: 5.4
版权: GPLv2 or later
版权网址: 版权信息

标签

apache refresh minify merge concatenate litespeed closure

下载

1.10.7 1.10.8 1.10.9 1.11 1.12 1.10.10 1.10.11 1.10.2 1.10.3 1.10.4 1.10.5 1.8.1 1.8.11 1.6.7 1.10.1 1.8 1.6.12 1.6.6 1.6.8 1.8.4 1.8.6 1.8.7 1.8.8 1.7.5 1.8.10 1.10.6 1.8.12 1.8.3 1.8.5 1.8.9 1.9 1.10 1.8.2

详情介绍:

This plugin merges/concatenates Cascading Style Sheets & Javascript files into groups. It then minifies the generated files using Minify (for CSS) and Google Closure (for JS - fallback to Minify when not available). Minification is done via WP-Cron so that it doesn't slow down the website. When JS or CSS changes files are re-processed. No need to empty cache! Inspired by MinQueue and Dependency Minification plugins. Minification by Minify and Google Closure 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. Version 1.10 added should_mmr filter which allows developers to disable MMR when needed. You could use this to disable MMR for certain WordPress roles or with some Page Builders. Three new plugins have been created that utilise this: Merge + Minify + Refresh Check DIVI, Merge + Minify + Refresh Check Visual Composer and Merge + Minify + Refresh Check Beaver Builder. Please install these when required. Version 1.6 added support for HTTP2 Server Push to further speed up your requests (thanks to Daniel Aleksandersen). Version 1.6.9 added the ability to specify the cache directory. Set MMR_CACHE_DIR & MMR_CACHE_URL constants in wp-config.php. 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). Version 1.6.11 added the ability to specify seperate cache urls for javascript and CSS. Use MMR_JS_CACHE_URL & MMR_CSS_CACHE_URL to replace MMR_CACHE_URL. Version 1.7.0 added the ability to generate .css.gz & .js.gz files. Your webserver may need to be configured to use these files. Here is how to use these files in Apache: ` #Serve gzip compressed CSS files if they exist and the client accepts gzip. RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -s RewriteRule ^(.*).css $1.css.gz [QSA] #Serve gzip compressed JS files if they exist and the client accepts gzip. RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -s RewriteRule ^(.*).js $1.js.gz [QSA] #Serve correct content types, and prevent mod_deflate double gzip. RewriteRule .css.gz$ - [T=text/css,E=no-gzip:1,E=is_gzip:1] RewriteRule .js.gz$ - [T=text/javascript,E=no-gzip:1,E=is_gzip:1] Header set Content-Encoding "gzip" env=is_gzip ` Version 1.8.8 added a "merge_minify_refresh_done" hook that fires when JS or CSS has changed. Version 1.11 added two new constants: MMR_USE_CLOSURE - allows Google Closure Javascript minification to be disabled. MMR_REMOVE_EXPIRED - disables removing expired files. Note Installing this plugin on a server with the eAccellerator module installed has the potential to break as Minify uses anonymous functions which return NULL. View eAccellerator Issue Thread Features

安装:

  1. Upload the merge-minify-refresh folder to the /wp-content/plugins/ directory or upload the zip within WordPress
  2. Activate the plugin through the 'Plugins' menu in WordPress

升级注意事项:

1.10.4 If your site uses DIVI, Visual Composer or Beaver Builder please make sure you install one of the additional MMR plugins. 1.10.3 If your site uses DIVI, Visual Composer or Beaver Builder please make sure you install one of the additional MMR plugins. 1.10.2 If your site uses DIVI, Visual Composer or Beaver Builder please make sure you install one of the additional MMR plugins. 1.10.1 If your site uses DIVI, Visual Composer or Beaver Builder please make sure you install one of the additional MMR plugins. 1.10 If your site uses DIVI, Visual Composer or Beaver Builder please make sure you install one of the additional MMR plugins.

更新日志:

1.12 1.11.3 1.11.2 1.11.1 1.11 1.10.11 1.10.10 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10 1.9.0 1.8.12 1.8.11 1.8.10 1.8.9 1.8.8 1.8.7 1.8.6 1.8.5 1.8.4 1.8.3 1.8.2 1.8.1 1.8 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7.0 1.6.14 1.6.13 1.6.12 1.6.11 1.6.10 1.6.9 1.6.8 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6 1.5.2 1.5.1 1.5 1.4.3 1.4.2 1.4.1 1.4 1.3 1.2 1.1 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1