Easily manage the merging and compression of js and css files from plugins and themes
Screenshots
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
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.
FAQ
Why does the first compile take so long with Google Closure OR why is development mode so slow to recache with Google Closure?
Google Closure is a 3rd party JS compiler that the plugin must make requests to in order to receive compressed markup. And, because
we allow you to choose whether or not to combine some files we have to make multiple requests to the service to maintain dependency
inclusion. This results in a bit of latency when caching your files. However, in production mode, once the files are generated they
do not have to be regenerated again and load times are improved significantly. Using JSMin is much faster and recommended for use in
conjunction with development mode.
Can I exclude certain pages from using the plugin
As of version 1.1.0 you can exclude pages from compiling/compressing css or js files using a regular expression in the general
settings tab.
ChangeLog
1.1.6
- Admin page requires edit_posts capability
1.1.5
- Skip checking when script handle is empty
1.1.4
- Suppress errors on strstr($js, $use) when use is empty
1.1.3
- Verified working on WP version 3.8.1
1.1.2
- Verified against WP version 3.6.1
- Removed warning on login page where wp_scripts is not set
1.1.1
- Fixed Fatal Error on “Cache” admin page before cache folder had been generated
1.1.0
- Added ability to not combine css files based on REQUEST_URI
- Added ability to not combine js files based on REQUEST_URI
1.0.4
- Fixed bug where plugin combined all css if no css files were selected
1.0.3
- Option to compress css or not
- Dependency bug fixed when opting not to combine js files that share dependencies with compressed files
1.0.0
- The very first version in all it’s glory