new

PageSpeed

Integrates PageSpeed Insights optimization into MODX Revolution
The author
wfoojjaec
Packages
1
Downloads
81
Usually answers more than a week
Автор дополнения
Packages
1
Downloads
81
Usually answers more than a week
Version 2.0.7-pl
Release date 09.17.2020
Downloads 81
Views 501
Warning! This component requires PHP version 7.0 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.7 !
This extra is designed for easier integration of PageSpeed Insights optimization for MODX Revolution. It can:
  • Operate in automatic mode, if default configuration properties are enough.
  • Handle subresources via cdnjs.com API and download Google Fonts.
  • Merge and minify styles, scripts and JSON. Minify HTML content.
  • Download and cache assets.
  • Compute SRI hashes for files and add defer or async attributes to script tag.
  • Convert gif, jpg and png images to webp format if browser supports it.
  • Apply native lazy loading for img and iframe elements.
  • Manage and efficiently cache multiple configurations at once.
  • Output MODX timing tags to browser console for members of Administrator user group.
Documentation and examples can be seen here.

2.0.7-pl

  • Fixed: subresource processing order

2.0.6-pl

  • Added: &convert
  • Added: http-equiv, prefetch, preload, srcset
  • Added: refresh timeout
  • Changed: &tplLinkStylesheet to &tplLink
  • Changed: LOG_LEVEL_ERROR to LOG_LEVEL_WARN
  • Removed: &assets
  • Removed: &minify option 'css-attr'
  • Removed: &minify option 'js-attr'
  • Removed: &preconnect

2.0.5-pl

  • Added: System Settings
  • Added: loading attribute
  • Changed: &quality default value to '80'
  • Changed: tplBeacon; CSSStyleRule order
  • Fixed: link media attribute processing

2.0.4-pl

  • Changed: &subresources default value to '{}'

2.0.3-pl

  • Fixed: punycode hostname processing
  • Fixed: script subresource processing

2.0.2-pl

  • Changed: MIME type of cached inline link subresources to text/css
  • Changed: MIME type of cached inline script subresources to text/javascript
  • Fixed: document encoding processing
  • Fixed: inline script processing

2.0.1-pl

  • Fixed: PHP 7.0.0 compatibility

2.0.0-pl

  • Added: &minify option 'css-attr'
  • Added: &minify option 'js-attr'
  • Added: critical path CSS generator
  • Changed: &integrity default value to 'sha256'
  • Changed: &minify default value to 'html link script'
  • Changed: &preconnect default value to 'false'
  • Fixed: request recursion

1.0.2-pl

  • Changed: local subresource processing

1.0.1-pl

  • Added: regClientCSS, regClientStartupScript, regClientScript, regClientStartupHTMLBlock, regClientHTMLBlock
  • Added: subresource version
  • Changed: LOG_LEVEL_ERROR to LOG_LEVEL_WARN on empty $link, $script
  • Changed: loadClass on OnMODXInit
  • Changed: tplConsole
  • Changed: tplLinkStylesheet; Eliminate render-blocking resources
  • Fixed: cache lifetime
  • Fixed: configuration override

1.0.0-pl

  • Initial release