توضیحات
Optimize pages for faster load and render in the browser.
تغییرات این نسخه
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
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