跳到内容

MnCombine

v1.1.6

mneil · 2013年5月27日 上架

Easily manage the merging and compression of js and css files from plugins and themes

正在使用
50+
评分
4.2 / 5
累计下载
1.9 万
最近更新
2016年3月31日
18 条评价需要 WordPress 3.3.1+已测试到 4.4.34

贡献者

截图

Choose the compression settings and mode
Choose the compression settings and mode
Select which files to combine from a list of files available in your WP install, active plugins, and active theme
Select which files to combine from a list of files available in your WP install, active plugins, and active theme
Total request of 17 uncompressed/combined files : 5136ms. 79.254kb of transfered data. Page load time 1.19s
Total request of 17 uncompressed/combined files : 5136ms. 79.254kb of transfered data. Page load time 1.19s
Total request of 3 compressed/combined files : 578ms. 66kb of transfered data. Page load time 1.13s. Significantly more time is saved when comparing the browser cached results of the two requests.
Total request of 3 compressed/combined files : 578ms. 66kb of transfered data. Page load time 1.13s. Significantly more time is saved when comparing the browser cached results of the two requests.

Finds all possible .js and .css files from a WP install available and allows you to combine and/or compress the files to reduce
load time. The plugin can monitor file changes in “development” mode (by hashing file mtime) which allows the plugin to
recompile the files when a file changes. Or, it can cache the files in “production” mode so that files are only recompiled
if they are not found or are deleted manually from the cache folder. Additionally, this plugin will allow you to force the
inclusion of javascript files into either the head or the foot of the page.

There are two modes, development and production, the ability to force the files to print in the header or footer*, the use of
Google Closure as a JS compiler, and finally the ability to pick and choose which files, including dependencies, should be combined.

*forcing head compiles can fail on JS files queued after the call to wp_head(). The plugin will, in this case, render the late
queued files in the footer as originally intended.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums