JCH Optimize


Speed up your WordPress site instantly with JCH Optimize! This plugin provides all the front end optimizations you need to optimize your website download speed. These optimizations are applied automatically by the plugin based on how it’s configured and reduce both your webpage size and the number of http requests required to download your webpages and results in reduced server load, lower bandwidth requirements, and faster page loading times.

Major Features

  • Page Cache
  • Combine and minify javascript and CSS files
  • HTML minification.
  • GZip compress the combined files.
  • Generate sprite to combine background images.
  • Ability to exclude files from combining to resolve conflicts
  • Defer/Load combined javascript file asynchronously
  • Optimize CSS Delivery to eliminate render blocking
  • CDN/Cookie-less Domain support
  • Lazy load images

How to use

To use, first temporarily deactivate all page caching features and plugins, then use the ‘Automatic Settings’ (Minimum – Optimum) to configure the plugin. The ‘Automatic Settings’ are concerned with the combining of the CSS and javascript files, and the management of the combined files, and automatically sets the options in the ‘Automatic Settings Groups’. Use the Exclude options to exclude files or plugins that don’t work so well when combined with JCH Optimize. You can then try the other optimization features in turn such as Sprite Generator, Add Image Attributes, Lazy Load Images, CDN/Cookieless Domain, Optimize CSS Delivery, etc., based on the optimization needs of your site. Flush all your cache before re-enabling caching features and plugins.


Visit our documentation on the main plugin site for more information on how the plugin works and how to configure it to improve your scores on GtMetrix and PageSpeed Insights

Advanced Features and Premium Support

If you need assistance on your website in configuring the plugin to resolve any conflicts or if you need access to more advanced features such as Http/2 support, Remove unused CSS, Lazy-load iframes, Optimize Images, using multiple domains with CDN, then there’s a Pro version available on a subscription basis. With an active subsscription you get premium technical support through our ticket system, access to downloads of new versions, and access to our Optimize Image API.


Just install from your WordPress “Plugins|Add New” screen. Manual installation is as follows:

  1. Upload the zip-file and unzip it in the /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. Go to Settings -> JCH Optimize and enable the options you want
  4. Use the Automatic Settings (Minimum – Optimum) to configure the plugin. This automatically sets the options in the ‘Automatic Settings Groups’. You can then try the other manual options to further configure the plugin and optimize your site. Use the Exclude options to exclude files/plugins/images that don’t work so well with the plugin.


How does the plugin speed up your site?

The plugin modifies the generated HTML of your website in ways that makes it faster to download and parsed by the browser. Simply put, the changes makes the webpage and resources smaller, and reduces the number of http requests the browser has to make to render the page. The result is a better user experience and higher search engine rankings.

How do I know if it’s working?

After installing and activating the plugin, combining CSS and javascript files are selected by default so it should start working right away. If you look at your web page and it doesn’t look any different that’s a good sign…maybe. To confirm if it’s working, take a look at the HTML page source. You can do that in most browsers by right clicking on the page and selecting that option. You should see the links to your CSS/Js files removed and replaced by the aggregated file URL in the source that looks like this:

There’s no CSS Formatting after enabling the plugin

The combined files are accessed by the browser via a jscss.php file in the /wp-content/plugins/jch-optimize/assets/ directory. If you’re not seeing any formatting on your page it means that the browser is not accessing this file for some reason. View the source of your page and try to access the JCH generated url to the combined file in your browser. You should see an error message that can guide you in fixing the problem. Generally it’s a file permission issue so ensure the file at ‘/wp-content/plugins/jch-optimize/assets/jscss.php` has the same permission setting as your /index.php file (usually 644) and make sure all the folders in this hierarchy have the same permissions as your htdocs or public_html folder(Usually 644).

How do I reverse the change JCH Optimize makes to my website?

Simply deactivate or uninstall the plugin to reverse any changes it has made. The plugin doesn’t modify any existing file or code but merely manipulates the HTML before it is sent to the brower. Any apparent persistent change after the plugin is deactivated is due to caching so ensure to flush all your WordPress, third party or browser cache.


2020년 March 1일
Hello, this plugin is doing a good job! Small improvements would seem nice to me, especially in the URLS exclusion windows. 1-URLS must be whole or relative URLS are possible? 2-could we have larger windows, drop-down lists, in order to be able to view them in full? Thanks in advance.
2019년 November 26일
I've tryed Autoptimize and Async JavaScript alone and in a pair. all combinations failed to combine js and css and lead to js errors on my site. Only this plugin configured for "Optimum" settings does it's job with no js errors on pages or any other side effects. I'm very impressed.
2019년 September 20일
I am facing slow page speed for my site on mobile view. after using JCH its really increase the speed of my site. Thanks JCH Team
2019년 May 7일
This is an useful plugin to optimize wordpress website. Site tested in Google insight and Gtmetrix are showing good output.
2018년 July 11일
By using this plugin, this has ensured that all our customers have received a 500 Internal Server Error and have not been indexed for months by Google. This is very disappointing and wrong.
모든 61 평가 읽기

기여자 & 개발자

“JCH Optimize”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.


자국어로 “JCH Optimize”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.



  • Improvements: Optimize Htaccess button will update codes in .htaccess files if already exists rather than simple reporting code already existing.
  • Improvements: Modified the implementation of Remove Unused CSS so as to obviate the need for configuring the Dynamic CSS setting. [PRO VERSION]
  • New Feature: Added ‘beta’ feature Reduce Dom to reduce size and loading time of large sites. [PRO VERSION]
  • New Feature: Added setting to remove unused javascript files.
  • Other minor bug fixes and improvements.


  • Bug fix. Error in combined CSS files caused by media type in file being different to type in media attribute on the LINK tag.
  • Bug Fix: Lazyloading images with srcset attributes broke W3C HTML validation.
  • Big Fix: PHP Notice in profiler.php
  • Improvements: Organized settings in fieldsets on Settings page
  • Improvements: Add Image Attributes will ignore images with both height and width attributes present. If one attribute is present the other will be added based on aspect ratio.
  • Improvements: Page cache lifetime setting and handling separated from combined files.


  • Bug fix: Combined files delivery using PHP files were broken


  • New feature: Option to remove unused CSS. This is added as an additional setting in the Optimize CSS Delivery feature. [PRO VERSION]
  • New feature: Setting to disable plugin for logged in users in Miscellaneous Settings on Combine CSS/JS tab.
  • Improvement: Will now generate different hash for multiple combined files. This will help to reduce build-up of cache.
  • Improvement: All excluded and combined javascript files are placed at bottom of page with Premium/Optimum setting.
  • Improvement: Add Image Attributes feature now ignores img elements with existing width and height attributes. If one attribute is found the other will be added using aspect ratio of image.


  • Bug fix: Add image attributes will use the same type of delimiter for width/height as that used around the url to avoid potential issues
  • Bug Fix: Validate HTML before processing to avoid problems.


  • Bug fix: PHP error in html.php file
  • Bug fix: Occasionally shows blank page while using Page Cache


  • Changes to the settings admin page and availability of features
  • Bux fixes and code improvements


  • Minor bug fixes and improvements
  • Added option to autosize images in Lazyload [PRO VERSION]
  • Load CSS file asynchronously using preload attribute instead of javascript in Optimize CSS Delivery [PRO VERSION]
  • Fixed bug in Optimize Image not working on Safari [PRO VERSION]


  • Improved compatibility with page caching and third party plugins
  • Fixed bug in HTML Minifier library
  • Fixed issue with font not showing correctly on some sites
  • Fixed bug in Lazy-load feature [PRO VERSION]


  • Minor bug fixes and improvements
  • Improved efficiency of caching policy of static assets
  • Added Http/2 push feature [PRO VERSION]
  • Added support for srcsets and iframe to Lazyload images feature [PRO VERSION]
  • Removed font-face from combined CSS file when Optimize CSS Delivery is enabled [PRO VERSION]


  • Fixed issue with plugin not running on some sites with last version
  • Added ability to mark and skip images already optimized in subfolders [PRO VERSION]
  • Fixed issue with autoupdate of PRO version reverting to FREE version [PRO VERSION]


  • Fixed issue in page cache causing PHP errors


  • Added page cache feature
  • Improved support for LiteSpeed Cache
  • Other minor bug fixes and improvements.


  • Minor bug fixes and improvement


  • Improved caching to reduce instances of excess cache.
  • Fixed issue with xml sitemaps when ‘Debug plugin’ is enabled.
  • Fixed issue with deprecating PHP error using the ‘each’ function.
  • Added minifier for json
  • Other bug fixes and improvements.


  • Fixed bug with exclude settings not being saved


  • Expired cache flushed daily
  • Codes added to .htaccess file to gzip compress files
  • Major improvement to Optimize Image feature handling more images much more efficiently (PRO VERSION)
  • Various bug fixes and improvement


  • Ability to exclude files while maintaining original execution order for all Automatic Settings added.
  • Ability to select static files for combined css and js files added.
  • Cache lifetime hardcoded to 1 day and setting removed.
  • ‘Exclude javascript dynamically’ setting removed.
  • Ability to select file type for each CDN domain added.(PRO VERSION)
  • CDN feature will use base element to determine the base url for relative urls.(PRO VERSION)
  • Automatically exclude images above the fold from Lazy-load feature to avoid css render-blocking issues.(PRO VERSION)
  • Improvements in the Optimize CSS Delivery feature.(PRO VERSION)
  • Various bug fixes and improvements.


  • Fixed bug creating errors in JchOptimizeSettings
  • Removed some exclusion settings
  • Fix javascript error in options page
  • Other minor bug fixes


  • Fixed conflicts with select plugins that cause JCH Optimize to generate a Fatal Error
  • Removed cache lifetime setting. Lifetime hardcoded to 1 day
  • Other minor bug fixes and improvement


  • Fix issue with the plugin not running on some sites
  • Now Compatible with Google AMP pages
  • Added setting to exclude pages from the plugin that don’t work well or you don’t want optimized


  • Couple bug fixes from the last version


  • Improved compatibility with PHP7
  • Improved support for Google font files
  • Fixed issue with script that flushes expired cache daily
  • Other minor fixes and improvements.


  • Fixed bug that was causing some javascript errors in some browsers on some sites.


  • Fixed bug with handling Google font files
  • Grouped settings related to the combine CSS/javascript feature together to make it more intuitive to configure and added setting to disable/enable this feature
  • Added feature to add missing height and width attributes to img elements
  • Fixed bug with lazy-load feature that was affecting other javascript libraries
  • Other minor bug fixes and improvements


  • Fixed issue with CSS Optimize library that caused some pages to load slowly


  • The settings in the backend are rearranged in a more logical and intuitive manner
  • Support for up to 3 CDN/Cookieless domains and the ability to select the file type to load over CDN
  • Exclude images from Lazy Load based on the folder (useful if you want to exclude all images from an extension), or by the CSS class defined on the image
  • Improved compatibility with slideshows and ajax content with the LazyLoad function and also support for non-javascript users (probably some mobile)
  • Ability to remove files from loading on the page for eg., if you have more than one jQuery libraries or libraries you’re not using like Mootools.
  • Psuedo-cron script that flush expired cache daily to reduce the build up of excess cache
  • Support for those pesky Google font files that are always blocking on PageSpeed
  • Option to ‘Leverage Browser Cache’ for common resource files.
  • Option to correct permissions of files/folders in plugin.
  • Added functionality to recursively optimize images in subfolders
  • Can scale images during optimization if image dimensions are larger than required.
  • Optimized/resized images will be automatically backed up in a folder.
  • Developed our own API for optimizing images so we’ll no longer be using Kraken.io
  • Added language translations for Spanish, French, Russian, German, and Hebrew
  • Other improvements to existing features and various bug fixes.


  • Fixed issue in validating HTML that prevented the plugin running on some sites.


  • Fix links to combined file to include scheme and domain for better compatibility with other plugins
  • Improved code that manipulates urls in the plugins


  • Fixed bug in Autoloader function that conflicts with other plugins that have classes beginning with ‘JCH’
  • Fixed bug with HTML Minify removing spaces from inside pre elements when it contains other HTML elements
  • Fixed compatibility issue with plugins using PHP internal buffering eg. CDN Linker, cache plugins, etc.
  • Will delete plugin options on uninstall
  • Multisite supported
  • Fixed issue with Optimize Images not working with open_basedir setting (PRO VERSION)
  • Now able to automatically update the Pro version when your download id is saved in the plugin (PRO VERSION)


  • Improved method of accessing HTML for optimization considering levels of buffering
  • Corrected function used to access home url in backend so that exclude options lists can be populated
  • Fixed bug in and improved HTML minification library
  • Fixed bug with Sprite Generator
  • Fixed bug with CDN/Cookie-less domain feature (PRO VERSION)
  • Improved Image Optimization feature (PRO VERSION)


  • Fixed issue with the setting ‘Use url rewrite – Yes (Without Options+SynLinks)’ not working properly
  • Fixed issue with combine javascript options sometimes creates javascript errors
  • Now using Kraken.io API to optimize images (PRO VERSION)


  • Fixed compatibility issue with XML sitemaps and feeds.
  • Minor bug fixes


  • Improved code running in admin section
  • Add Profiler menu item on Admin Bar to review the times taken for the plugin methods to run.
  • Keep HTML comments in ‘Basic’ HTML Minification level. Required for some plugins to work eg. Nextgen gallery.
  • Saving cache in non-PHP files to make it compatible with WP Engine platform.
  • Minor bug fixes and improvements.


  • Added visual indicators to show which Automatic setting is enabled
  • Added multiselect exclude options so it’s easier to find files/plugins to exclude from combining if they cause problems
  • Bug fixes and improvements in the HTML, CSS, and javascript minification libraries
  • Added levels of HTML minification


  • Fixed bug in HMTL Minify library manifested on XHTML templates
  • Fails gracefully on PHP5.2


  • First public release on WordPress plugins repository.