WordPress

Version 7.0.0 Stable

Released on: Friday, 27 November 2026
Maturity Stable
Released on Friday, 27 November 2026
Viewed 0 times

Release notes

What's new

Version 7.0.0 is a major release. It requires PHP 8.2 or later, and we recommend all users update: it includes security fixes.

AI-assisted optimization run (Pro, beta): from the dashboard's new AI-Assisted Optimization panel, an AI works through optimizing a page of your site the way an experienced person would, starting with your home page. Each batch of settings is tried on a private preview your visitors don't see, checked in a browser for anything it broke, and measured with PageSpeed Insights on mobile and desktop. The settings that made the page faster are saved, and the run ends with a report of the scores before and after. It needs an AI Optimization license and your own Anthropic (Claude) or OpenAI API key.

Page Experience (Pro): real-user monitoring of the Core Web Vitals (LCP, INP and CLS), measured in your visitors' own browsers and shown day by day, per device and page, with an email when your site gets slower than its baseline. LCP Images now chooses a page's LCP image from what visitors' browsers reported, instead of guessing.

Development mode no longer deactivates JCH Optimize: it switches optimization off with the plugin left active, so its settings stay available. The Mode Switcher is now part of the plugin, in the free version too.

Fonts and JavaScript (Pro): Optimize Fonts can serve Google Fonts from your site, adds size-matched fallback fonts so the page doesn't shift when a web font loads, has a Font display setting with Optional, and can defer icon fonts until after the first paint. New settings load analytics and ad pixel scripts after the first paint, and scripts such as a consent manager asynchronously.

Images: Optimize Images (Pro) keeps each original and always optimizes again from it, and can run unattended on a schedule. The settings that load optimized images moved to the Media tab, Replace existing srcset lets your theme's images use JCH Optimize's responsive images, and a new Smallest image on phones setting lets high-resolution phones choose a sharper image.

Cache: outdated pages are removed from the Page Cache, its static files and Cloudflare when posts or pages change, and other systems can purge pages through the REST API (Pro). Expired cache is deleted by a WP-Cron job instead of during a visitor's page load. Editors can clear the page cache from Tools > Page Cache, and a new Logs tab can explain why a page wasn't optimized or cached.

Security: this release fixes addresses and JSON being written back to the page in a way that could let HTML in them, such as from a visitor's comment, run script, and stops Authors and Contributors from deleting the whole cache.

Many bugs were fixed, including critical CSS being extracted again for every page and visitor on large sites, imported CSS lost from cached combined files, and static cached pages losing the site's security headers. See the CHANGELOG for details.

Developed and tested on up to PHP 8.5.13 and WordPress 7.1.5

Changelog

New features

  • Add Page Experience: real-user monitoring of the Core Web Vitals (LCP, INP and CLS), with FCP and TTFB, measured in your visitors' own browsers on a share of page views and shown day by day, per device and page, on JCH Optimize's new Page Experience tab. Set a baseline and every new day is compared with it, with an email when your site gets slower. The dashboard's Notifications panel shows whether it is on, its regressions and whether measurements are arriving. Turn it on with Measure page experience on the Page Experience tab of Configurations. [Pro Version]
  • Add Scheduled Optimization to Optimize Images: with Optimize images automatically set to hourly, twice daily or daily, WP-Cron optimizes the images found on the site's pages unattended. Each run continues where the last one stopped, pauses when your plan's rate limits are reached and resumes after the wait, with an email when it pauses if you want one, and the Optimize Images tab shows the latest job under the file tree. [Pro Version]
  • Add a Defer these font files setting to Optimize Fonts: the listed font files load after the page's first paint, so they don't compete for bandwidth with what visitors see first. Meant for icon fonts such as Font Awesome, whose icons are blank spaces until they load. [Pro Version]
  • Add a Font display setting to Optimize Fonts, with Optional next to Swap: the web font gets a very short time to load, so fonts never shift the page or delay the Largest Contentful Paint. Force swap policy is now Override font-display in the CSS. [Pro Version]
  • Add a Load these files after the first paint setting to the JavaScript tab, for analytics and ad pixel script files: each listed file starts only after the page has painted, on every page view and without waiting for an interaction, so PageSpeed doesn't count it in the time to the largest paint. [Pro Version]
  • Add a Load these files asynchronously setting next to it, for script files that must run unchanged but nothing else depends on, such as a consent manager: a listed file stays where it is and is given the async attribute, so it no longer blocks the page from rendering. [Pro Version]
  • Add a Logs tab that shows JCH Optimize's logs: general, image optimization, Recache and the AI-assisted optimization run, with a Log level setting on the General tab choosing what is written. With Log level set to Debug, it says why each page isn't optimized, such as an excluded page, a logged-in user with Disable logged-in users on, jchnooptimize in the URL, a page in an iframe, or another plugin switching it off with jch_optimize_no_optimize (with the filter's callbacks), and why each page isn't served from or stored in the Page Cache, such as a submitted form, an excluded page, or another plugin switching it off, and lists the plugins that can switch it off.
  • Add the AI-assisted optimization run (beta), from the dashboard's AI-Assisted Optimization panel: an AI works through optimizing a page of your site the way an experienced person would, starting with your home page. Each batch of settings is tried on a private preview your visitors don't see, checked in a browser for anything it broke and corrected, and measured with PageSpeed Insights on mobile and desktop. The settings that made the page faster are saved, the live page is checked once more, and the run ends with a report of the scores before and after, the settings it changed and what it couldn't fix. It needs an AI Optimization license and your own Anthropic (Claude) or OpenAI API key. The panel takes the place of the optimizing services link, and the free version shows it as available in Pro. [Pro Version]
  • Added Delete expired cache to Utility Tasks: deletes only the cached pages and files that have expired, as the Delete expired cache schedule does, keeping the rest.
  • Added a Replace existing srcset setting to Load Responsive Images, on by default: images that WordPress or your theme already gives a srcset now use JCH Optimize's responsive images, where before they were left as they were. Switch it off to keep your theme's own srcset on those images.
  • Added a Responsive image widths setting to the Optimize Images tab's Responsive Images section, as on Joomla: the widths of the mobile and tablet images Optimize Images makes, 480 and 768 by default. Crop these images resizes the part of an image it keeps to the mobile width. [Pro Version]
  • Added a Smallest image on phones setting to Load Responsive Images, on by default. Responsive images give phones the smallest version of an image whatever the screen's pixel density, which loads fastest but can look soft on high-resolution phones. Switch the setting off, instead of switching responsive images off, to let phones choose the version that suits their screen. Background images in CSS follow the setting too.
  • Added an Integrate mode switcher setting on the Page Cache tab, on by default: the page cache is switched off in Development mode and on in Production mode. Switch it off to switch the page cache and the mode separately.
  • Added the WEBP load policy setting (load WEBP images for all browsers, or only for browsers detected as supporting them) to the Media tab's Load AVIF/WEBP Images section.
  • HTTP/2 Preload's Preload JavaScript modules, Include files and Exclude files settings are available in the free version.
  • Images that your theme's own script loads from data-src, such as UIkit's and lazysizes' images, get the WebP or AVIF copies Optimize Images made and can be preloaded as the page's LCP image. [Pro Version]
  • Optimize Fonts adds size-matched fallback fonts: until a web font loads, its text is shown in Arial or Times New Roman resized to take up the same space, so the page doesn't shift when the web font swaps in. [Pro Version]
  • Optimize Fonts can serve Google Fonts from the site: the stylesheets and their font files are saved in the cache folder and combined with the site's CSS, so pages no longer connect to Google's servers. It's on by default while Optimize Fonts is on. [Pro Version]
  • Other systems can delete cached pages through WordPress's REST API: DELETE /wp-json/jch-optimize/v1/page-cache deletes every cached page, and POST /wp-json/jch-optimize/v1/page-cache/purge deletes the cached versions of the pages whose addresses it lists, with their static files and Cloudflare's copies. The request needs a user who can clear the page cache, with an application password. [Pro Version]
  • Page Cache ignores common ad and social tracking parameters (utm_*, fbclid, gclid, msclkid) on new installs, so links from campaigns and social posts are served from the cache.
  • Remove outdated pages from the Page Cache, its static files and Cloudflare when posts or pages are published, updated, unpublished, trashed or deleted, or their comments change, and clear the cache when menus, widgets, categories, tags or the theme change. The new Pages to purge on post changes setting on the Page Cache tab chooses between the affected pages and the whole cache. [Pro Version]
  • Restore or delete the backups of only the images and folders selected in Optimize Images, and resize every image in a folder by entering a width and height beside it. [Pro Version]
  • Show the debug mode and configure helper status, the cache storage status, and whether another page caching plugin is active (in red, since two page caches interfere) in the Notifications panel on the dashboard, with a warning when a configure helper is left on, the configured cache storage is unavailable, or JCH Optimize doesn't load first.
  • Stylesheets that load without blocking the page are also linked in a noscript element, so they apply in browsers without JavaScript.
  • The Mode Switcher menu has a Page Cache item that switches the page cache by itself, and its icon's color shows what is on: green for optimization and the page cache, grey with the page cache off, orange with only the page cache on, red with both off. [Pro Version]
  • With Exclude form users on, other plugins can trigger the jch_optimize_user_post_form_delete_cookie action to serve a visitor who submitted a form from the Page Cache again before the end of its lifetime, for example after they empty their cart.

Removed features

  • Remove the Order plugin setting and the Order Plugin button in Utility Tasks: JCH Optimize's page cache no longer needs to load before other plugins, and a plugin that always loads itself first (such as FluentSMTP) kept the order wrong. The dashboard warns instead when another page caching plugin is active.

Noteworthy changes

  • Raised the minimum PHP version to 8.2.

Bug fixes

  • [HIGH] Fix image, link and video addresses that aren't valid URLs being written back to the page with their HTML entities decoded, and JSON rewritten for the CDN with left unescaped, which could let HTML in them, such as from a visitor's comment, break out and run script.
  • [LOW] Fix Cache Info failing when a cache file was removed while the cache was being counted.
  • [LOW] Fix Delete Cache in the admin bar's JCH Optimize menu doing nothing for users it was shown to who couldn't delete other users' pages, and the jch_clear_page_cache capability having no effect when a role editor plugin gave it to a user who couldn't delete posts. [Pro Version]
  • [LOW] Fix LCP Images preloading only the desktop image of a background image configured for both viewports, and a configured image that names a file also selecting other sizes of it (photo.jpg selecting photo-300x200.jpg), so a thumbnail could take the hero's preload. [Pro Version]
  • [LOW] Fix Load responsive images adding srcset and sizes to an image in a picture element with sources, and LCP Images preloading such an image, or one the page already gives fetchpriority="high", instead of giving it high priority. [Pro Version]
  • [LOW] Fix Load responsive images wrapping background images in a further set of media queries each time the CSS was processed again with Optimize CSS Delivery, and leaving an element's ::before or ::after with no background image at all. [Pro Version]
  • [LOW] Fix Optimize Images setting aside 32 MB of memory to save each optimized image, which failed on sites with a low memory limit, and missing background images in all but the page's first CSS group when optimizing by URL. [Pro Version]
  • [LOW] Fix a held-back script's jQuery load handlers never running with Reduce Unused JavaScript when jQuery is critical, which could leave a portfolio grid unlaid out. [Pro Version]
  • [LOW] Fix an off-canvas panel at the start of the page ending the count of elements above the fold, which left the whole visible page below the fold.
  • [LOW] Fix deleting expired cache on a very large cache running into PHP's time limit before deleting anything, so the cache never shrank and each attempt held a PHP worker. When it can't finish in time, the whole cache is cleaned instead.
  • [LOW] Fix font URLs written without quotes and containing @ being broken in @font-face rules.
  • [LOW] Fix removing a section from .htaccess leaving blank lines behind and collapsing the file's other blank lines.
  • [LOW] Fix the Custom CSS, Mobile CSS and Desktop CSS boxes gaining spaces around their CSS each time the settings were saved, and CSS containing breaking the settings form. Spaces already added are removed the next time you save.
  • [LOW] With Cloudflare's Mode switcher integration off, switching between Production and Development mode no longer switches Cloudflare's Development Mode. [Pro Version]
  • [MEDIUM] Fix Authors and Contributors being able to delete the whole cache from Tools > Page Cache, which anyone who could delete their own posts was offered. It now takes an Editor, or a user given the jch_clear_page_cache capability. [Pro Version]
  • [MEDIUM] Fix Optimize CSS Delivery extracting the critical CSS again for each page built from the same template, such as each product page of a shop, because the links, images and ids on each page were part of its cache key, and for every visitor without a session cookie, such as bots, the Recache crawler and first visits, because form tokens were. On large sites, the cache grew with every page and pages kept loading slowly. Pages now share their critical CSS when the stylesheets can't tell them apart.
  • [MEDIUM] Fix a configured LCP image, HTTP/2 preloads and prefetches having no effect after a settings change that left the page's contents unchanged, because the values from before the change were kept.
  • [MEDIUM] Fix a page shown in a frame, such as a video popup of the page itself, loading everything Reduce Unused JavaScript and Reduce Unused CSS held back at once, which slowed the page that framed it. A lazy-loaded iframe of the page itself is left empty. [Pro Version]
  • [MEDIUM] Fix a stylesheet that imports several others, with Replace Imports on, keeping only the last import's contents in its cached combined file, so pages served from the cache lost the other imported CSS, such as a Google Font's @font-face rules.
  • [MEDIUM] Fix an expired cache cleanup that failed partway leaving the Page Cache switched off: no new pages were cached until the cache was cleared.
  • [MEDIUM] Fix deleting expired cache leaving pages cached for the other device, or before a settings change, linking to deleted CSS and JavaScript files, so they showed broken until they expired. Those pages are deleted with the files now.
  • [MEDIUM] Fix inline scripts that Reduce Unused JavaScript deferred without combining them never running. [Pro Version]
  • [MEDIUM] Fix pages served as static files losing the headers the site sent with them, such as security headers (Cross-Origin-Opener-Policy, X-Frame-Options, Referrer-Policy) and Link preloads, on Apache and LiteSpeed. [Pro Version]
  • [MEDIUM] Fixed stylesheets listed in Optimize Fonts' "Optimize these files" being removed from the page while Optimize Fonts is off. They are combined as usual. [Pro Version]
  • [MEDIUM] With Optimize CSS Delivery on, Optimize Fonts keeps the @font-face rules used above the fold in the critical CSS. It moved them to a separate stylesheet that loaded after the page, which delayed the fonts. [Pro Version]

Miscellaneous changes

  • A settings export is named after the site and the time it was made.
  • Combined files delivered with PHP are served through WordPress as soon as the plugin loads, at URLs that follow your permalink settings, compressed by the GZip setting, which moves under Combined files delivery and is no longer an automatic setting.
  • Custom CSS is added after the combined CSS, as its own style element at the bottom of the head, so its rules take precedence.
  • Development mode no longer deactivates JCH Optimize, which locked you out of its settings and Optimize Images: it switches optimization off with the plugin left active, and the dashboard's top switch is now Optimization. The Mode Switcher menu in the admin bar is part of the plugin instead of a must-use plugin, which updating removes, and it is in the free version too, with an Upgrade to Pro item.
  • Editors and Administrators can clear the page cache without access to the settings, from Tools > Page Cache, in the free version too, where it took a role editor plugin until now. Other users can still be given the jch_clear_page_cache capability with a role editor plugin.
  • Expired cache is deleted by a WP-Cron job, jch_optimize_clear_expired, instead of while visitors load pages, which slowed down the page that did it. Delete expired cache now chooses how often it runs: Hourly, Twice Daily, Daily (the default, and what Yes becomes) or Disabled.
  • HTTP/2 Preload no longer preloads the images and fonts it found in the critical CSS, and its File types setting is removed: those preloads competed with the LCP image and often went unused. LCP Images and Optimize Fonts preload what the top of the page needs. HTTP/2 Preload preloads JavaScript modules and the files in Include files, which are now added to the other preloads instead of replacing them.
  • LCP Images chooses the LCP image of a page without a configured one from Page Experience: the image visitors' browsers most often reported as the page's LCP element over the last two weeks, for phones and desktops separately. It no longer guesses the largest image near the top, so without Page Experience only configured LCP images are preloaded. [Pro Version]
  • Lazy load loads an iframe below the first screen when the visitor scrolls near it, with lazysizes, instead of with loading="lazy", which some browsers loaded before the first paint. [Pro Version]
  • Optimize Fonts preloads the two font files most likely to show the text above the fold, preferring basic Latin, upright fonts in the weights the page uses, whether or not HTTP/2 Preload is on. HTTP/2 Preload chooses the font files it preloads the same way. [Pro Version]
  • Optimize Images keeps each image's original and always optimizes again from it, never from the optimized file, so changing the image settings (turning on AVIF, another quality) makes the new copies from the full-quality image. Ignore optimized images now skips only images already optimized with the current image settings; the others get their missing WebP, AVIF and responsive copies. Restoring an image treats it as never optimized. The list of optimized images moves to .jch/jch.json when you update. [Pro Version]
  • Page Cache's Use Http Requests setting is renamed Serve Cached Pages as Static Files, and the Page Cache page's HTTP Request column, filter and status Static File, so the feature is easier to recognize. [Pro Version]
  • Reduce Unused JavaScript and Reduce Unused CSS no longer switch themselves off for testing tools such as Lighthouse and PageSpeed Insights, so these measure your pages as visitors get them. [Pro Version]
  • Saving settings that change what pages hold deletes the cached pages, from the Page Cache, its static files and Cloudflare, so pages served as static files no longer keep the old settings until they expire.
  • The cookies JCH Optimize sets are marked Secure on HTTPS requests.
  • The settings that load the images Optimize Images makes moved from the Optimize Images tab to the Media tab: Loads AVIF/WEBP images, Load WEBP images and Load AVIF images are in a new Load AVIF/WEBP Images section, and Load responsive images in a new Load Responsive Images section. The Optimize Images tab keeps the settings for making the images. Saved settings are unchanged.

View files

Version 6.0.2 Stable

WordPress 4.x

Released on: Saturday, 22 August 2026
Maturity Stable
Released on Saturday, 22 August 2026
Viewed 0 times

Release notes

What's new

Version 6.0.2 adds browser caching controls for Page Cache and Capture Cache, including support for the configured cache lifetime and mobile clients.

This release also improves automatic LCP image selection, Dynamic CSS Selectors detection and Capture Cache configuration, and includes several fixes and build-tooling updates. Please see the CHANGELOG.

Developed and tested on up to PHP 8.5.9 and WordPress 7.1

Changelog

New features

  • Added browser caching controls for Page Cache and Capture Cache, honoring the configured cache lifetime.
  • Added mobile client detection support to Capture Cache.

Changes

  • Improved Capture Cache header generation and configuration guidance for Apache and Nginx.
  • Improved Dynamic CSS Selectors detection for dynamically added and hidden elements.
  • Improved automatic LCP image selection and matching, including responsive and background images.

Bug fixes

  • [LOW] Fixed the combiner to use the canonical Debug Plugin setting.
  • [MEDIUM] Fixed browser caching for logged-in users, POST requests and submitted-form activity.

Miscellaneous changes

  • Updated the build and development tooling for Phing 3 and corrected platform path definitions.

View files

Version 6.1.1 Stable

WordPress 4.x

Released on: Monday, 19 October 2026
Maturity Stable
Released on Monday, 19 October 2026
Viewed 0 times

Release notes

What's new

Version 6.1.0 is a security and maintenance release, and we recommend all users update. It requires PHP 8.1 or later, and updates the bundled third-party libraries to current stable releases.

Security: this release fixes cross-site scripting through encoded characters in URLs, requires a valid nonce for every administrator task that changes settings or files, and fixes an open redirect in the Clean Cache task. It stops CSS and JavaScript files outside the site root from being read through encoded slashes in their URLs when files are combined, and stops combining files from fetching files from private network addresses. It also validates the image URLs and paths returned by the image optimization service, removes the jchbackend URL parameter, keeps the Cloudflare API token, Redis password and Download ID out of settings exports, and waits for an administrator before applying the .htaccess changes and the Mode Switcher after an update.

Page Cache: pages left unoptimized for a single request are no longer cached and served to every visitor, and only pages on the site's own host are cached. Page Cache's cookies now follow the COOKIEPATH and COOKIE_DOMAIN settings, are HTTPS only on HTTPS sites, and cover the whole site.

Optimize Fonts: with Optimize CSS Delivery on, the @font-face rules used above the fold stay in the critical CSS, so fonts are no longer delayed. Stylesheets listed in "Optimize these files" are no longer removed from the page while Optimize Fonts is off.

Cache and Recache: identical optimized content is now stored once, reducing the cache's size on disk, and garbage collection no longer removes cache files still in use. Only one Recache runs at a time, and Recache from the command line no longer cleans the cache when it can't reach the selected cache storage. Redis connections through a Unix socket are recognized.

Uninstalling now deletes the plugin's cache folder and the next-gen and responsive images it created. Backups of optimized images are kept.

Several other bugs were fixed, including relative URLs on pages with a tag, responsive background CSS on LCP images, browsers autofilling the Redis password, and duplicated @imports. See the CHANGELOG for details.

Developed and tested on up to PHP 8.5.11 and WordPress 7.1.3

Changelog

Bug fixes

  • [LOW] Fix Add Image Attributes showing an error on pages with an image button ().
  • [LOW] Fix Load responsive images leaving a broken style attribute on an element above the fold with several background images in its style attribute. All of them are moved to the style element now. [Pro Version]
  • [LOW] Fix PHP warnings and notices being shown in the responses to the plugin's admin requests on sites that display PHP errors, which could stop the admin pages working.
  • [LOW] Fix Stripe's script (js.stripe.com) being combined and moved with the other scripts. It is left where it is again.
  • [LOW] Fix the Exclude image from sprite and Include additional images in sprite settings failing to list the sprite's images.
  • [LOW] Optimize Images adds each image to its list of optimized images once. An image optimized again was added again, so the list kept growing. [Pro Version]
  • [MEDIUM] Fix Cloudflare's whole cache being cleared each time JCH Optimize removed expired files from its cache, with Enable Cloudflare purge on. Only the pages removed from the Page Cache, including pages that used an expired combined file, are cleared at Cloudflare now, sent in batches Cloudflare accepts. Deleting pages on the Page Cache page with none that are still cached no longer clears Cloudflare's whole cache either. [Pro Version]
  • [MEDIUM] Fix JCH Optimize Pro 6.1.0 offering 6.1.0 as an update after it was installed. 6.1.0 reported its version to the update check as 6.0.2.1. [Pro Version]
  • [MEDIUM] Fix pages showing an error page when the Sprite Generator is on and the combined CSS has background images for a sprite.
  • [MEDIUM] Fix pages whose URL can't be stored in the capture cache, such as a URL with %25 or .. in its query string, showing an error page when served from the Page Cache, and stopping the Page Cache page from listing cached pages. These pages aren't capture-cached now. [Pro Version]
  • [MEDIUM] Fix visitors who logged in with a login form on a page of the site, such as WooCommerce's My Account page, being kept out of the Page Cache after logging out, until the end of the Page Cache's lifetime, with Exclude form users on. The login form is a posted form, and the cookie it set stayed after logout. It is removed when the user logs out now.
  • [MEDIUM] Logging in sets the cookie that keeps logged-in users out of the capture cache right away, so the first pages they visit after logging in on wp-login.php aren't served from it. [Pro Version]

View files

Version 6.1.0 Stable

WordPress 4.x

Released on: Saturday, 10 October 2026
Maturity Stable
Released on Saturday, 10 October 2026
Viewed 0 times

Release notes

What's new

Version 6.1.0 is a security and maintenance release, and we recommend all users update. It requires PHP 8.1 or later, and updates the bundled third-party libraries to current stable releases.

Security: this release fixes cross-site scripting through encoded characters in URLs, requires a valid nonce for every administrator task that changes settings or files, and fixes an open redirect in the Clean Cache task. It stops CSS and JavaScript files outside the site root from being read through encoded slashes in their URLs when files are combined, and stops combining files from fetching files from private network addresses. It also validates the image URLs and paths returned by the image optimization service, removes the jchbackend URL parameter, keeps the Cloudflare API token, Redis password and Download ID out of settings exports, and waits for an administrator before applying the .htaccess changes and the Mode Switcher after an update.

Page Cache: pages left unoptimized for a single request are no longer cached and served to every visitor, and only pages on the site's own host are cached. Page Cache's cookies now follow the COOKIEPATH and COOKIE_DOMAIN settings, are HTTPS only on HTTPS sites, and cover the whole site.

Optimize Fonts: with Optimize CSS Delivery on, the @font-face rules used above the fold stay in the critical CSS, so fonts are no longer delayed. Stylesheets listed in "Optimize these files" are no longer removed from the page while Optimize Fonts is off.

Cache and Recache: identical optimized content is now stored once, reducing the cache's size on disk, and garbage collection no longer removes cache files still in use. Only one Recache runs at a time, and Recache from the command line no longer cleans the cache when it can't reach the selected cache storage. Redis connections through a Unix socket are recognized.

Uninstalling now deletes the plugin's cache folder and the next-gen and responsive images it created. Backups of optimized images are kept.

Several other bugs were fixed, including relative URLs on pages with a tag, responsive background CSS on LCP images, browsers autofilling the Redis password, and duplicated @imports. See the CHANGELOG for details.

Developed and tested on up to PHP 8.5.11 and WordPress 7.1.3

Changelog

Changes

  • Importing settings keeps the site's current Cloudflare API token, Redis password and Download ID when the file doesn't include them.
  • Improved cache storage by deduplicating identical optimized content, reducing cache size on disk.
  • Page Cache only stores pages requested on the host of the site's home URL.
  • Raised the minimum PHP version to 8.1.
  • Redis hosts written as unix:///path, or any absolute path, are recognized as Unix sockets.
  • Settings exports are now downloaded directly and no longer include the Cloudflare API token, Redis password or Download ID.
  • Uninstalling deletes the plugin's cache folder and the next-gen and responsive images it created. Backups of optimized images are kept.
  • Updated bundled third-party libraries to current stable releases, including Symfony DomCrawler, Guzzle and Laminas.

Bug fixes

  • [HIGH] Fixed CSS and JavaScript files outside the site root being readable through encoded slashes (..%2F) in their URLs when files are combined.
  • [HIGH] Fixed a cross-site scripting vulnerability where encoded characters in URLs, such as search query links, were decoded during optimization.
  • [HIGH] Fixed an open redirect through the return parameter of the Clean Cache task.
  • [HIGH] Removed the jchbackend URL parameter that disabled optimization for any visitor.
  • [HIGH] Required a valid nonce for all administrator tasks that change settings or files.
  • [HIGH] Validated image URLs and paths returned by the image optimization service and kept image folders within the site root.
  • [LOW] Composer's list of installed packages no longer includes packages that aren't shipped.
  • [LOW] Escaped page URLs and details on the Page Cache list.
  • [LOW] Fixed HTML minification options and settings serialization.
  • [LOW] Fixed PHP warnings after importing or resetting settings that leave out Page Cache settings.
  • [LOW] Fixed a duplicated @import being combined again when Resolve @imports is on.
  • [LOW] Fixed browsers autofilling the administrator login password into the Redis password field.
  • [LOW] Fixed invalid width and height attributes on images.
  • [LOW] Fixed links being injectable into the error message on the Optimize Images page.
  • [LOW] Fixed relative URLs on pages with a tag being resolved against the page URL instead of the base, affecting combined files, image dimensions, CDN URLs and preloads.
  • [LOW] Fixed the total cache size being under-reported for some cache storage adapters.
  • [LOW] Removing JCH Optimize's section from .htaccess leaves the rest of the file as it was, instead of collapsing blank lines.
  • [LOW] Validated Page Cache IDs before deleting cached pages.
  • [MEDIUM] After an update, the .htaccess changes and the Mode Switcher must-use plugin wait for an administrator who can activate plugins, instead of running on a visitor's request.
  • [MEDIUM] Combining files no longer fetches files from private network addresses, or follows redirects to them.
  • [MEDIUM] Escaped file and folder names in the Optimize Images file tree.
  • [MEDIUM] Fixed Recache failing when the cache storage adapter is unavailable.
  • [MEDIUM] Fixed Recache not falling back to the site URL when Recache Base URL is empty.
  • [MEDIUM] Fixed critical CSS from @import chains overwriting each other in the cache.
  • [MEDIUM] Fixed cross-site scripting in the Critical JavaScript Configure Helper, which showed script URLs from the site's pages without escaping them.
  • [MEDIUM] Fixed garbage collection removing cache files that were still in use.
  • [MEDIUM] Fixed responsive background CSS being lost on LCP images and excluded files.
  • [MEDIUM] Fixed stylesheets listed in Optimize these files being removed from the page while Optimize Fonts is off.
  • [MEDIUM] Ignored malformed Host headers instead of letting them change the detected page URL.
  • [MEDIUM] Only one Recache runs at a time.
  • [MEDIUM] Page Cache no longer stores pages left unoptimized for a single request, such as pages loaded in an iframe, requested with jchnooptimize, or where optimization failed.
  • [MEDIUM] Page Cache's cookies follow the COOKIEPATH and COOKIE_DOMAIN settings, are HTTPS only on HTTPS sites, and cover the whole site.
  • [MEDIUM] Recache from the command line, such as WP-CLI running the cron event, no longer cleans the cache when the selected cache storage can't be reached from the command line, such as APCu. It logs a warning instead.
  • [MEDIUM] Rejected malformed host names in Page Cache and Capture Cache keys, and unsafe characters and path segments in Capture Cache file paths.
  • [MEDIUM] With Optimize CSS Delivery on, Optimize Fonts keeps the @font-face rules used above the fold in the critical CSS, so fonts are no longer delayed.

View files

Version 6.0.1 Stable

WordPress 4.x

Released on: Saturday, 11 July 2026
Maturity Stable
Released on Saturday, 11 July 2026
Viewed 0 times

Release notes

What's new

Version 6.0.1 is a security release. It fixes an authenticated access-control issue affecting administrative actions, hardens settings import validation and processing, and improves validation of custom CSS settings output.

Thanks to Artus KG for reporting this issue responsibly. This release also updates plugin URI metadata to HTTPS and includes a small dashboard icon spacing fix. Please see the CHANGELOG.

Developed and tested on up to PHP 8.5.8 and WordPress 7.0.1

Changelog

Security fixes

  • [HIGH] Fixed an authenticated access-control security issue affecting administrative actions. Reported by Artus KG.
  • [HIGH] Hardened settings import validation and processing.
  • [MEDIUM] Added direct capability checks to privileged administrative actions.
  • [MEDIUM] Improved validation of custom CSS settings output.

Bug fixes

  • [LOW] Fixed dashboard icon spacing.

Miscellaneous changes

  • Updated the plugin URI metadata to use HTTPS.

View files

Version 6.0.0 Stable

WordPress 4.x

Released on: Saturday, 04 July 2026
Maturity Stable
Released on Saturday, 04 July 2026
Viewed 0 times

Release notes

What's new

Version 6.0.0 updates the Admin UI for WordPress 7.0 with redesigned Dashboard, Configurations, Page Cache and Optimize Images pages. It also adds a dashboard optimization snapshot, a Dynamic CSS Selectors setting, new cache adapters, Cloudflare development mode editing, and several improvements to Optimize CSS Delivery, Smart Combine, image optimization, LCP handling and page cache reliability. Please see the CHANGELOG

Developed and tested on up to PHP 8.5.7 and WordPress 7.0

Changelog

New features

  • Added Cloudflare development mode edit support.
  • Added dashboard optimization snapshot.
  • Added new Dynamic CSS Selectors setting.
  • Re-added Smart Combine optimized bundling for Pro.

Changes

  • Improved Optimize CSS Delivery, including dynamic selector handling, pseudo-element support, dynamic hydration scheduling, cache-key stability and stale cache alias handling.
  • Improved URI handling and validation, including malformed server values, URI candidate transformations and HTTP_HOST hardening.
  • Improved image optimization and LCP handling, including responsive image width configuration, auto-LCP lazy-load cleanup, retry diagnostics and websocket disconnect handling.
  • Redesigned the Dashboard, Configurations, Page Cache and Optimize Images admin pages for the updated WordPress 7.0 admin UI.
  • Refactored page cache architecture and improved page cache list output, cache adapter error messaging and page URL escaping.

Bug fixes

  • [LOW] Fixed Bootstrap toggle focus styling, dashboard icon CSS, dynamic selector detection and Optimize CSS Delivery excluded CSS handling.
  • [MEDIUM] Fixed JavaScript Configure Helper issues with Smart Combine and container setup.
  • [MEDIUM] Fixed lazy-load CSS empty URL handling, multiline URL attributes, failed external combine assets and scoped Bootstrap source map handling.

Miscellaneous changes

  • Updated WordPress compatibility metadata to test up to WordPress 7.0 and require at least WordPress 6.7.

View files

Version 5.1.4 Stable

WordPress 4.x

Released on: Friday, 16 January 2026
Maturity Stable
Released on Friday, 16 January 2026
Viewed 0 times

Release notes

What's new

This release fixes an intermittent error while editing .htaccess files that may cause errors on some servers. Please see the CHANGELOG

Developed and tested on up to PHP 8.4.16 and WordPress 6.9

Changelog

Bug fixes

  • [HIGH] Fixed issue with plugin sometimes mutating .htaccess files causing errors on some servers.

Miscellaneous changes

  • More Bootstrap usage on Configurations page.

View files

Version 5.1.3 Stable

WordPress 4.x

Released on: Wednesday, 17 December 2025
Maturity Stable
Released on Wednesday, 17 December 2025
Viewed 0 times

Release notes

What's new

This release contains some cosmetic improvements to the admin ui and new settings for per page number of elements above the fold value. Please see the CHANGELOG

Developed and tested on up to PHP 8.4.15 and WordPress 6.9

Changelog

New features

  • Added image/avif to htaccess optimization

Bug fixes

  • Fix bug with processing scripts containing backslashes

Miscellaneous changes

  • Improve modeswitcher menu
  • Use scoped bootstrap to render form elements
  • Use selectors to capture crossorigin value on the Preloads tab.

View files

Version 5.1.2 Stable

WordPress 4.x

Released on: Saturday, 06 December 2025
Maturity Stable
Released on Saturday, 06 December 2025
Viewed 0 times

Release notes

What's new

This release contains a critical fix of a bug that that broke @font-face in some CSS files.

Developed and tested on up to PHP 8.4.15 and WordPress 6.9

Changelog

Bug fixes

  • [HIGH] @font-face broken in some CSS files.

View files

Version 5.1.0 Stable

WordPress 4.x

Released on: Tuesday, 25 November 2025
Maturity Stable
Released on Tuesday, 25 November 2025
Viewed 0 times

Release notes

What's new

This release contains several key improvements and added features. All are encouraged to upgrade. Please see CHANGELOG.

Developed and tested on up to PHP 8.4.14 and WordPress 6.8.3

Changelog

New features

  • Add WP-CRON support for recache feature
  • Add option to set sitemap URL for better recache coverage
  • Added Cloudflare cache purge integration
  • Added support for AVIF images
  • Added support for HTTP Request feature in Page Caching to Nginx servers. (Server caching)

Changes

  • Improved Optimize CSS Delivery to reduce over-inlining and improve FCP and LCP
  • Improved Reduce Unused JavaScript feature to reduce the need to exclude files and better optimizations

View files

Version 5.0.1 Stable

WordPress 4.x

Released on: Monday, 15 September 2025
Maturity Stable
Released on Monday, 15 September 2025
Viewed 0 times

Release notes

What's new

This is a major release with several new features and improvements. Of note, is an updated User Interface for the Dashboard to improve user experience. Please see CHANGELOG.

Developed and tested on up to PHP 8.4.8 and WordPress 6.8.1

Changelog

Security fixes

  • Fixed a Path Traversal security vulnerability on the Optimize Image page found by Artyom from CleanTalk.

Changes

  • CSS files loaded dynamically in 'Reduce Unused CSS' feature are combined to prevent incremental layout shifts when the user interacts with the page.
  • Don't cache 404 or other invalid pages.
  • Improve robustness of Critical JavaScript configure helper
  • Improved usability and accuracy of 'Above fold marker' in Miscellaneous Settings and 'Configure helper' in Optimize CSS Delivery. These settings are only visible when 'Debug plugin' is enabled. Please read the descriptions for more information.

Bug fixes

  • [LOW] JavaScript error when lazy load background image enabled but none found.
  • [MEDIUM] Remove @charsets from combined dynamic CSS file
  • [MEDIUM] Some CSS fonts missing when Reduce Unused CSS is enabled.

Miscellaneous changes

  • Improved simplification of dynamic CSS Selectors listed by the Optimize CSS Delivery configure helper.

View files

Version 5.0.0 Stable

WordPress 4.x

Released on: Wednesday, 11 June 2025
Maturity Stable
Released on Wednesday, 11 June 2025
Viewed 0 times

Release notes

What's new

This is a major release with several new features and improvements. Of note, is an updated User Interface for the Dashboard to improve user experience. Please see CHANGELOG.

Developed and tested on up to PHP 8.4.8 and WordPress 6.8.1

Changelog

New features

  • Added settings to exclude sections from the Reduce DOM feature and to include selected DIVs above the fold using id or class.
  • Added settings to lazy load selected images above the fold such as hidden slider images and submenu icons.

Changes

  • Implemented new design for Dashboard.
  • Improvements in fht Image Optimization feature and API.
  • Modify default HTML sections in Reduce DOM feature.
  • Separate Image features from CSS features on Dashboard
  • Settings 'Include files' in the HTTP/2 Preload and 'Preconnect domains' in Preconnect 3rd part Origins no accept crossorigin attribute values.

Miscellaneous changes

  • Limit the amount of font files and images preloaded by the HTTP/2 feature automatically to avoid overloading the critical path.

View files

Version 4.2.1 Stable

WordPress 4.x

Released on: Wednesday, 15 May 2024
Maturity Stable
Released on Wednesday, 15 May 2024
Viewed 0 times

Release notes

What's new

This release introduces a few minor changes for better performance. Please see CHANGELOG.

Developed and tested on up to PHP 8.3.6 and WordPress 6.5.3

Changelog

Security fixes

  • Fixed security vulnerability with path traversals. See https://patchstack.com/database/report-preview/64f22db8-23d4-4c35-83ee-312a3aa865f6 for details

Bug fixes

  • [LOW] Sort items on Page Cache tab wasn't working

Miscellaneous changes

  • CSS loaded asynchronously in the Optimize CSS Delivery feature is placed at the bottom of the page.
  • Use the loading attribute to lazy load images instead of JavaScript. JavaScript only used when lazy loading background images and audio/video.

View files

Version 4.2.0 Stable

WordPress 4.x

Released on: Friday, 23 February 2024
Maturity Stable
Released on Friday, 23 February 2024
Viewed 0 times

Release notes

What's new

This release introduces a major new feature, Responsive Images, to further reduce LCP, especially on mobile. This works for both HTML images and for background images in CSS files. For HTML images, a srcset attribute is added to the element containing the different sized images to load for different media sizes. For CSS images, the plugin will add additional CSS wrapped in media queries to load the different sized images at different viewport sizes.

You must optimize the images first to generate the different sizes. If images were optimized before, you may want to temporarily disable the 'Ignore optimized images' setting to facilitate a re-optimization.

Other minor improvement and bug fixes, please see CHANGELOG.

Developed and tested on up to PHP 8.3.3 and WordPress 6.4.3

Changelog

New features

  • Add Responsive Image feature

Bug fixes

  • [HIGH] Fix fatal error on servers without mbstring support
  • [MEDIUM] Backup images were only saved when WEBP images generated

Miscellaneous changes

  • Added support for resizing WEBP image to create responsive images

View files

Version 4.1.1 Stable

WordPress 4.x

Released on: Thursday, 07 December 2023
Maturity Stable
Released on Thursday, 07 December 2023
Viewed 0 times

Release notes

What's new

This release is a maintenance release with a few improvements and minor bug fixes. All are welcome to update.

Please see CHANGELOG below for list of changes.

Developed and tested on up to PHP 8.2.13 and WordPress 6.4.2

Changelog

Removed features

  • Removed support for deprecated Wincache storage.

Changes

  • Improved caching to reduce server resource usage.
  • Improved event messaging while optimizing images using websockets

Bug fixes

  • [LOW] Couldn't exclude JavaScript with async attributes

View files

Version 4.1.0 Stable

WordPress 4.x

Released on: Thursday, 16 November 2023
Maturity Stable
Released on Thursday, 16 November 2023
Viewed 0 times

Release notes

What's new

This release is a major upgrade with new features and improvements. Of note, the minimum supported PHP version is now 8.0.

In this version we introduced a feature on the Preload tab to load Largest Contentful Paint images using the new 'fetchpriority' attribute to improve performance on PageSpeed. Additionally, we rewrote the Optimize Images script to make it more efficient.

Please see CHANGELOG below for list of changes.

Developed and tested on up to PHP 8.2.12 and WordPress 6.4.1

Changelog

New features

  • Add feature to preload LCP images with high fetch priority
  • Add setting to easily find the Elements above fold value. Only works if Debug Plugin is enabled.
  • Added Preconnect section for third-party origins including CDN

Removed features

  • Remove CDN setting Preconnect CDNs
  • Remove HTTP/2 setting push CDN files

Changes

  • Improved Optimize image script
  • Minimum PHP version now 8.0

View files

Version 4.0.1 Stable

WordPress 4.x

Released on: Friday, 04 August 2023
Maturity Stable
Released on Friday, 04 August 2023
Viewed 0 times

Release notes

What's new

This version contains a security fix and other bug fixes and improvments. All are encouraged to update. See CHANGELOG for details.

Please see CHANGELOG below for list of changes.

Developed and tested on up to PHP 8.2.8 and WordPress 6.2.2

Changelog

Security fixes

  • Fix security vulnerability with broken access control to settings
  • Fix security vulnerability with the Optimize Image metafile.

New features

  • Add setting to ignore query parameter on page cache

Bug fixes

  • [HIGH] Full compatibility with Windows broken.
  • [MEDIUM] Recache didn't work on some servers.

View files

Version 4.0.0 Stable

WordPress 4.x

Released on: Thursday, 08 June 2023
Maturity Stable
Released on Thursday, 08 June 2023
Viewed 0 times

Release notes

What's new

This version is a major update containing a few new features and improvements. Notable additions are a Recache function to crawl the site and optimize and cache pages before users visit. See CHANGELOG for details.

Please see CHANGELOG below for list of changes.

Developed and tested on up to PHP 8.2.7 WordPress 6.2.2

Changelog

New features

  • Added Bulk Settings Operations feature to export, reset, import settings.
  • Added Recache feature.
  • Added separate icon on Dashboard to load WEBP images.

Changes

  • Modified the JavaScript exclude settings to make them more user-friendly.
  • Rearranged some settings on the Configurations tab to make them more intuitive

Miscellaneous changes

  • Major rewrite of substantial parts of the codes for better performance.
  • Minimum PHP version is now PHP 7.4.
  • Numerous bug fixes and improvements.

View files

Version 3.2.3 Stable

WordPress 4.x

Released on: Tuesday, 28 February 2023
Maturity Stable
Released on Tuesday, 28 February 2023
Viewed 0 times

Release notes

What's new

This version contains a security vulnerability bug fix, including other minor bug fixes and improvements. All are recommended to upgrade immediately.

Please see CHANGELOG below for list of changes.

Developed and tested on up to PHP 8.1.16 WordPress 6.1.1

Changelog

Changes

  • Remove loading="lazy" attribute from excluded images in Lazy-load feature.

Bug fixes

  • [HIGH] Fix Cross Site Scripting security vulnerability in Configuration tab.
  • [MEDIUM] Fix conflict with XML sitemaps when using the Optimize fonts feature.

View files

Version 3.2.2 Stable

WordPress 4.x

Released on: Friday, 20 January 2023
Maturity Stable
Released on Friday, 20 January 2023
Viewed 0 times

Release notes

What's new

This version contains a few improvements and bug fixes since the last release. All are advised to upgrade.

Please see CHANGELOG below for list of changes.

Developed and tested on up to PHP 8.1.14 WordPress 6.1.1

Changelog

Bug fixes

  • [HIGH] Fix PHP error with function utf8_strlen on some sites.
  • [LOW] Fix PHP error when Clean Cache is accessed from admin menu on some sites.

View files

Page 1 of 4