Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Page Optimize icon

Page Optimize

v0.6.4
by Automattic · 3.0 (5 reviews)

Optimize pages for faster load and render in the browser.

300K+ active installs Updated Oct 19, 2026 Tested to 7.0.9 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card

About Page Optimize

This plugin can help improve the performance of your website by combining and optimizing CSS and JavaScript files. It also allows you to test these features on specific pages by appending query parameters to the URL.

Frequently asked questions

What does Page Optimize do?
Page Optimize is a WordPress plugin designed to improve page loading and rendering performance in the browser. It offers features like concatenating CSS and JavaScript, and managing the execution timing of non-critical scripts.
How can I test the plugin's features without affecting my live site?
You can test features by appending specific query parameters to a WordPress post or page URL. For example, to test JavaScript concatenation, you can add '?concat-js=1' to your URL.
What are the risks associated with changing script execution timing?
Changing script execution timing can be risky and may not work well for all websites. It's recommended to test this feature carefully.
Which query parameters are available for testing?
You can use 'concat-css' and 'concat-js' to control CSS and JavaScript concatenation, and 'load-mode-js' to manage how non-critical JavaScript loads. Values like 'defer' or 'async' can be used for 'load-mode-js'.

Changelog

0.6.4

  • Add PAGE_OPTIMIZE_CONCAT_MAX_BYTES to limit the size of concatenated responses (default 8 MiB).
  • Tighten request validation in the concat service.
  • Normalize repeated slashes when rewriting relative CSS URLs.
  • Improve how concatenated responses are cached.

0.6.3

  • Update Tested up to version to 7.0

0.6.2

  • Fix: Harden CSS concat @import hoisting to preserve long Google Fonts-style URLs with semicolons and avoid false positives from @import-like substrings in rule bodies/URL paths.

0.6.1

  • Fix: Skip JavaScript concatenation for scripts that request defer or async loading to preserve core loading behavior.
  • Fix: Skip JavaScript concatenation for module scripts (type=”module”) and scripts whose

0.6.0

  • Fix: Preserve stylesheet enqueue/document order when concatenating CSS. Concat-eligible styles are now emitted as sequential runs and split around non-concatenated items (e.g. external/excluded/dynamic URLs), media changes, RTL handling, and other boundaries.
  • Fix: Inline styles (wp_add_inline_style) now print immediately after their parent stylesheet, including when styles are concatenated.
  • Fix: Apply core’s style_loader_tag filter when a concatenation run contains only a single stylesheet (matching core behavior and the JS-side fix from 0.5.0).
  • Fix: The css_do_concat filter is now evaluated once per handle.
  • Fix: The concat service no longer drops @import directives due to a closure scoping bug. (@charset/@import handling now runs against the intended pre-output buffer.)
  • Fix: Stylesheets containing @import now start a new concat run so service-side @import hoisting cannot reorder imports ahead of earlier stylesheets.
  • Fix: Treat @import and @charset as case‑insensitive when building concatenated CSS, preventing missed rules in some stylesheets.

0.5.8

  • Update Tested Up To Version to 6.9.

0.5.7

  • Update Tested Up To Version to 6.8.

0.5.6

  • Update Tested Up To version to 6.7.

0.5.5

  • Fix: Stop skipping inline scripts when src is empty.

0.5.4

  • Bail when editing pages or posts in the Editor. Increased the max concatenated file limit.

0.5.1

  • Bail when editing pages in Brizy Editor (it errors when JavaScript load mode is async).

0.5.0

  • Apply the script_loader_tag filter for scripts that are concatenate-able but have no neighbors to concatenate with. This fixes a case where the TwentyTwenty theme wanted to apply a defer attribute to its script but was never given the opportunity.

0.4.5, 0.4.6

  • Force absolute paths for CSS replacements.
  • Lower required PHP version to 7.0.

0.4.4

  • Don’t queue the cache cleaning WP Cron job if we aren’t caching.
  • Cleanup cache if we turned caching off or directory changed.

0.4.3

  • gzip in PHP slows stuff down a bit. Simply don’t do this. Any web server can handle this better.
  • also remove the output buffering, no need for that anymore
  • CSS Minification can sometimes slow things down significantly. Add constant to enable/disable.

0.4.2

  • Initial release. No changes yet. 🙂

Try other plugins