Automattic / page-optimize

WordPress plugin to optimize pages for faster load and render in the browser
GNU General Public License v2.0
32 stars 11 forks source link

=== Page Optimize === Contributors: aidvu, bjorsch, bpayton, rcrdortiz Tags: performance Requires at least: 5.3 Tested up to: 6.7 Requires PHP: 7.4 Stable tag: 0.5.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Optimize pages for faster load and render in the browser.

== Description ==

This plugin supports a few features that may improve the performance of page loading and rendering in the browser:

== Installation ==

This plugin uses sensible defaults so it can operate without configuration, but there are a number of constants you may use for a custom configuration.

= PAGE_OPTIMIZE_CACHE_DIR =

Page Optimize caches concatenated scripts and styles by default, and this constant controls where the cache files are stored. The default directory is cache/page_optimize under your site's wp-content folder.

To change the cache location, set this constant to the absolute filesystem path of that location.

To disable caching, set this constant to false. Please note that disabling Page Optimize caching may negatively impact performance unless you are caching elsewhere.

= PAGE_OPTIMIZE_CSS_MINIFY =

Page Optimize has CSS Minification capabilities which are off by default.

If you're using caching, and not minifying CSS elsewhere, it is recommended to enable it by setting it to true.

== 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:

== Changelog ==

= 0.5.6 =

= 0.5.5 =

= 0.5.4 =

= 0.5.1 =

= 0.5.0 =

= 0.4.5, 0.4.6 =

= 0.4.4 =

= 0.4.3 =

= 0.4.2 =