JCH Optimize PRO

Unberührt JCH Optimize PRO 10.0.0

Kostenloser Download über tägliche Glücksaufgabe

New features​

  • Add Page Experience (Pro): 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 the new Page Experience page. 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, and the new JCH Optimize - Page Experience scheduled task can run its daily job instead of CRON. Turn it on with Measure page experience on the Page Experience tab.
  • Add Scheduled Optimization to Optimize Images (Pro): the site's images are optimized unattended by the new JCH Optimize - Optimize images scheduled task, or from CRON with the jchoptimize😱ptimize-images command, by crawling the site's pages or by folders. Each run continues the saved job, pauses when your plan's rate limits are reached and resumes after the wait, and the Optimize Images page shows the latest job under the file tree.
  • Add a Clear Cache permission to the Permissions tab of the Options page. User groups allowed it, along with Access Administration Interface, can delete the cache from the Mode Switcher and use the Page Cache page, including Recache (Pro), without being able to change any setting. The Mode Switcher shows each user only what they can use, and isn't shown to users who can't use it. Joomla's menu and the dashboard's Navigation panel list only the pages a user can open, which the new System - JCH Optimize Administrator Menu plugin sees to; keep it enabled.
  • Add a Content - JCH Optimize Cache Purge plugin (Pro) that removes outdated pages from the Page Cache, its static files and Cloudflare when articles are saved, published, unpublished, featured, trashed or deleted, and clears the cache when categories, menu items or site modules change.
  • Add a Defer these font files setting to Optimize Fonts (Pro): 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.
  • Add a Font display setting to Optimize Fonts (Pro), 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.
  • Add a Load these files after the first paint setting to the JavaScript tab's Exclude JavaScript section (Pro), 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.
  • Add a Load these files asynchronously setting next to it (Pro), 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.
  • Add a Logs page that shows JCH Optimize's logs: general, image optimization, Recache and the AI-assisted optimization run (Pro), 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 or menu item, a logged-in user with Disable logged-in users on, jchnooptimize in the URL or a page in an iframe, and why each page isn't served from or stored in the Page Cache, such as a submitted form, an excluded page or menu item, messages waiting to be shown, or another extension switching it off, and lists the extensions that can switch it off.
  • Add a Smallest image on phones setting to Load Responsive Images (Pro), 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.
  • Add the AI-assisted optimization run (Pro, 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.
  • HTTP/2 Preload's Preload JavaScript modules, Include Files and Exclude Files settings are available in the free version.
  • Images that your template's own script loads from data-src, such as UIkit's and lazysizes' images, get the WebP or AVIF copies Optimize Images made (Pro) and can be preloaded as the page's LCP image.
  • Optimize Fonts (Pro) 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.
  • Optimize Fonts (Pro) 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.
  • Other systems can delete cached pages through Joomla's Web Services (Pro): DELETE /api/index.php/v1/jchoptimize/pagecache deletes every cached page, and POST /api/index.php/v1/jchoptimize/pagecache/purge deletes the cached versions of the pages whose addresses it lists, with their static files and Cloudflare's copies. The new Web Services - JCH Optimize plugin adds the routes, and the request needs a Joomla API token of a user with Web Services Login and JCH Optimize's Clear Cache permission.
  • 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.
  • Show the debug mode and configure helper status, the cache storage status, and the system plugin order in the Notifications panel on the dashboard, with a warning when a configure helper is left on, the configured cache storage is unavailable, or the plugins are out of order.
  • Stylesheets that load without blocking the page are also linked in a noscript element, so they apply in browsers without JavaScript.
  • With Exclude form users on, other extensions can trigger the onJchOptimizeUserPostFormDeleteCookie event 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. The User - JCH Optimize User State plugin removes the cookie.
full changelog

Bug fixes​

  • [LOW] Fix Add Image Attributes showing an error page on pages with an image button ().
  • [LOW] Fix Load responsive images (Pro) 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.
  • [LOW] Fix PHP warnings and notices being shown in the responses to the component's admin requests on sites that display PHP errors, which could stop the admin pages working.
  • [LOW] Fix the Exclude images from sprite and Include additional images in sprite settings failing to list the sprite's images.
  • [LOW] Optimize Images (Pro) adds each image to its list of optimized images once. An image optimized again was added again, so the list kept growing.
  • [MEDIUM] Fix Cloudflare's whole cache being cleared each time JCH Optimize removed expired files from its cache, with Enable Cloudflare Purge (Pro) 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.
  • [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 visitors who logged in on the site with Exclude form users on being kept out of the Page Cache after logging out, until the end of the Page Cache's lifetime. The login form is a posted form, and the cookie it set stayed after logout. The User - JCH Optimize User State plugin now removes it when the user logs out, and is included in the free version too.
  • Gefällt mir
Reaktionen: ilihai und lorus
Version 9.4.2 is a security and maintenance release, and we recommend all users update. Sites that connect to Redis through a Unix socket should update immediately: since 9.4.0, those connections failed and JCH Optimize fell back to filesystem storage.

Security: this release 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 fixes cross-site scripting in the Critical JavaScript Configure Helper, keeps the Download ID out of settings exports, lets the request that starts a Recache be used only once, and waits for an administrator before applying the .htaccess changes and plugin ordering after an update.

Page Cache: tag pages no longer show an error page after their content for guests, and are cached again. Pages left unoptimized for a single request are no longer cached and served to every visitor. Page Cache's cookies now follow the Cookie Path, Cookie Domain and Force HTTPS settings in Global Configuration, and cover the whole site, so logged-in users are no longer served captured guest pages.

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.

Installation and updates: new installs now run the post-install tasks, upgrading from the free version to Pro enables the plugins Pro adds, sites keep a single update site with the Download ID, and uninstalling leaves no files behind.

Recache: Recache works again on servers that can't run PHP from the command line, where it cached no pages, and errors there are now logged. Its default Concurrency is lowered from 10 to 5, so a recache leaves PHP workers free for visitors.

Several bugs were fixed, including Save Changes in the Critical JavaScript Configure Helper, Recache on servers that can't reach the cache storage from the command line, the dashboard's bulk settings buttons, browsers autofilling the Redis password, and duplicated @imports. See the CHANGELOG for details.
  • Gefällt mir
Reaktionen: lorus
v9.4.1

Bug fixes​

  • [HIGH] Fix a fatal error on sites using the Redis or APCu cache storage, caused by classes missing from the bundled Laminas cache library in 9.4.0.
v9.4.0

New features​

  • Add a Task - JCH Optimize plugin to schedule the Recache routine with the Joomla Scheduler.
  • Show a warning on the JCH Optimize dashboard when system plugins aren't in the order JCH Optimize needs, with a button to reorder them.
  • Show a warning on the Page Cache page when System Debug turns off Use HTTP Requests (Capture Cache).

Changes​

  • Importing settings keeps the site's current Cloudflare API token and Redis password when the file doesn't include them.
  • Improve cache storage by deduplicating identical optimized content, reducing cache size on disk.
  • Raise the minimum requirements to PHP 8.1 and Joomla! 5.0.
  • Settings exports are now downloaded directly and no longer include the Cloudflare API token or Redis password.
  • Update bundled third-party libraries to current stable releases, including Symfony DomCrawler, Guzzle and Laminas.
  • When the Site URL ($live_site) is set in Global Configuration, Page Cache only stores pages requested on that host.

Bug fixes​

  • [HIGH] Fix a cross-site scripting vulnerability where encoded characters in URLs, such as search query links, were decoded during optimization.
  • [HIGH] Fix an open redirect through the return parameter in Mode Switcher and Utility tasks.
  • [HIGH] Fix the Page Cache hit counter allowing a request to run any component's model. Hits are now only recorded for published articles, contacts, news feeds, tags and categories the visitor can access.
  • [HIGH] Remove the jchbackend URL parameter that disabled optimization for any visitor.
  • [HIGH] Require a valid form token and administrator permissions for all administrator tasks that change settings or files.
  • [HIGH] Validate image URLs and paths returned by the image optimization service and keep image folders within the site root.
  • [LOW] Fix HTML minification options and settings serialization.
  • [LOW] Fix Order Plugins leaving JCH Optimize before other system plugins that have a high ordering value.
  • [LOW] Fix Pro-only administrator features appearing in the free edition.
  • [LOW] Fix hits not being recorded for cached contact, tag and news feed pages.
  • [LOW] Fix invalid width and height attributes on images.
  • [LOW] Fix 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] Fix the Component Configuration dashboard link checking the wrong permission.
  • [LOW] Fix the port being dropped from page URLs when the Site URL ($live_site) uses a non-standard port.
  • [LOW] Fix the total cache size being under-reported for some cache storage adapters.
  • [LOW] Fix the untranslated Page Cache toggle error message, and the success message always saying "enabled".
  • [LOW] Validate Page Cache IDs before deleting cached pages.
  • [MEDIUM] Escape file and folder names in the Optimize Images file tree.
  • [MEDIUM] Fix critical CSS from @import chains overwriting each other in the cache.
  • [MEDIUM] Fix garbage collection removing cache files that were still in use.
  • [MEDIUM] Fix responsive background CSS being lost on LCP images and excluded files.
  • [MEDIUM] Fix the Recache command and task not falling back to the site URL when Recache Base URL is empty.
  • [MEDIUM] Fix the jchnooptimize URL parameter not disabling optimization.
  • [MEDIUM] Ignore malformed Host headers instead of letting them change the detected page URL.
  • [MEDIUM] Reject malformed host names in Page Cache and Capture Cache keys, and unsafe characters and path segments in Capture Cache file paths.

New features​

  • Add an option to control browser caching for Page Cache and Capture Cache responses.
  • Add mobile-device detection for Capture Cache and separate mobile cache handling.

Removed features​

  • Remove the obsolete UUID JavaScript symlink and its unused dependency reference.

Changes​

  • Improve LCP image selection and responsive image handling, including multiline URL attributes and empty lazy-load URLs.
  • Improve Optimize CSS Delivery cache handling by deduplicating output and invalidating stale cache aliases.
  • Improve Page Cache AJAX script loading so token and hit updates run after the page has loaded.
  • Improve Page Cache response handling to respect Joomla cacheability, user state, form activity, and request methods.
  • Improve settings import validation and safely handle unavailable administrator assets and Mode Switcher assets.

Bug fixes​

  • [HIGH] Fix malformed HTTP_HOST values causing invalid SystemUri handling.
  • [LOW] Fix dashboard icon styling and the LinkHelper test namespace.
  • [MEDIUM] Fix HTML tags being retained in custom CSS output.
  • Gefällt mir
Reaktionen: junk und ilihai

New features​

  • Add CDN support for JSON scripts.
  • Add Cloudflare Mode Switcher integration.
  • Add Smart Combine / Optimized Bundling feature.
  • Add settings to configure responsive image widths and crop width defaults.

Changes​

  • Improve Cloudflare verification and cache adapter error messaging in the administrator.
  • Improve Optimize CSS Delivery with more robust dynamic selector capture, pseudo-element support in critical CSS, and reduced duplicate caching.
  • Improve Optimize Image batching, retry diagnostics, and cancellation when websocket connections close.
  • Improve Page Cache architecture, recache processing, and remove page cache AJAX requests from the critical render path.
  • Improve Reduce Unused CSS/JavaScript output to better conform with HTML validation.
  • Improve URI processing and CDN handling with a revised URI transformation pipeline.
  • Improve dynamic CSS/JavaScript loading to reduce reflows and better handle elements added after page load.

Bug fixes​

  • [HIGH] Harden SystemUri validation against malicious HTTP_HOST values.
  • [LOW] Escape page URLs on the Page Cache list page.
  • [LOW] Fix backend AJAX toggles blocked by Joomla security protocols.
  • [LOW] Fix incorrect component reference in access.xml.
  • [LOW] Fix installation edge case when installing Free over Pro.
  • [LOW] Remove loading="lazy" from automatically detected LCP images.
  • [MEDIUM] Fix JavaScript Configure Helper compatibility with Smart Combine.
  • [MEDIUM] Fix broken page caching and incorrect Mode Switcher page cache toggling.
  • [MEDIUM] Fix excluded CSS not being added to the page when Optimize CSS Delivery is enabled.
  • [MEDIUM] Fix invalid XPath expression generated from non-standard pseudo-classes in critical CSS extraction.
  • [MEDIUM] Fix responsive image CSS rules being modified when no responsive images exist.
  • [MEDIUM] Fix scripts and sensitive scripts not being excluded correctly.
  • Improve Optimize CSS Delivery to reduce incidence of failures and false positive in identifying critical CSS
  • Improve htaccess writing class to avoid race conditions
  • Use 2 for default concurrency level while Optimizing Images and cap to 3

New features​

  • Add settings to capture number of elements for home page and per page edge cases.
  • Added image/avif to htaccess optimization.

Bug fixes​

  • [MEDIUM] Fix bug with processing scripts containing backslashes.

Miscellaneous changes​

  • Better support for admin Atum's template dark theme.
  • Change subfields in Preloads - Include Files and Preconnect domains capturing crossorigin values
  • Improve ModeSwitcher layout.
  • Gefällt mir
Reaktionen: lorus

Bug fixes​

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

New features​

  • Add option to set sitemap URL for better recache coverage.
  • Added support for HTTP Request feature in Page Caching to Nginx servers. (Server caching)

Changes​

  • Improve ReCache action to use Console plugin and avoid redirects errors.
  • Improve Reduce Unused JavaScript feature to reduce the need to exclude files and better optimizations
  • Improvement in Optimize CSS Delivery to reduce over-inlining and improve FCP and LCP
  • Improvement in Optimize Image to handle larger amount of images by batching.

Bug fixes​

  • [LOW] Fixed intermittent `Crawl Url not found` exception while recaching.
  • [LOW] Folder with spaces were not showing up in the File Tree on Optimize Image page
  • [MEDIUM] Fixed issue with individual pages not purged from Cloudflare with HTTP Request feature enabled.
Zurück
Oben