Optimize pages for faster load and render in the browser.
Author: | Automattic (profile at wordpress.org) |
WordPress version required: | 5.3 |
WordPress version tested: | 6.4.2 |
Plugin version: | 0.5.5 |
Added to WordPress repository: | 27-02-2020 |
Last updated: | 18-01-2024 |
Rating, %: | 60 |
Rated by: | 5 |
Plugin URI: | https://wordpress.org/plugins/page-optimize/ |
Total downloads: | 30 840 |
Active installs: | 100 000+ |
Click to start download |
This plugin supports a few features that may improve the performance of page loading and rendering in the browser:
- Concatenate CSS
- Concatenate JavaScript
- Execution timing of non-critical scripts
- Note: Changing script execution timing can be risky and will not work well for all sites.
Testing
To test features without enabling them for the entire site, you may append query params to a WordPress post or page URL. For example, to test enabling JavaScript concatenation for https://example.com/blog/
, you can use the URL https://example.com/blog/?concat-js=1
.
Supported query params:
concat-css
controls CSS concatenation. Values:1
for ON and0
for OFF.concat-js
controls JavaScript concatenation. Values:1
for ON and0
for OFF.load-mode-js
controls how non-critical JavaScript are loaded. Values: ‘defer’ for deferred, ‘async’ for async loading, any other value indicates the feature should be disabled.
ChangeLog