{warning} The cache must be cleared or refreshed after this update completes.
Added
- Added the ability to send compressed responses to browsers that accept supported encodings.
- Added the ability to save compressed cached values in the Yii Cache Storage to help reduce the memory required.
- Added tips that display whether
gzip
is enabled on the web server in the Cache Storage settings. - Added the
maxUriLength
config setting (#539).
Changed
- Cached includes and pages that contain SSI or ESI includes are now never compressed.
- Renamed the
createGzipFiles
setting tocompressCachedValues
. - Improved the performance of cache refresh jobs by optimising database queries (#496).
- The cache refresh process is now triggered when an asset’s file is replaced or its filename is changed (#514).
- Changed the URL that checks whether SSI is enabled on the web server to a relative URL.
Removed
- Removed the ability to create Brotli files and removed the setting (use gzip instead).
Fixed
- Fixed a bug in which the
cacheDuration
config setting was not being applied when the value was not an integer (#536). - Fixed a bug in which the
__home__
URI was not responding with a 404 error when it should have (#538). - Fixed a bug in which eager-loading of auto-injected elements was not being tracked on cached pages.
Deprecated
- Deprecated the
createGzipFiles
setting. - Deprecated the
createBrotliFiles
setting.