Improve your TYPO3 page speed by using common best practices and other shenanigans :).
Or just install it via composer:
$ composer require atomicptr/page_speed_plus
- HTTP/2 Server Push
- HTML Compression via wyrihaximus/html-compress
- JavaScript Compression via tedious/JShrink
You can use the constants editor or just overwrite the TypoScript like this:
plugin.tx_page_speed_plus {
settings {
http2 {
serverPushEnable = 1
maxHeaderLength = 8190
}
htmlCompress {
enable = 1
}
}
}
You can enable JavaScript compression by adding this to your configuration:
config.compressJs = 1
- Set your FE compression level to 9 in the install tool (and also add this to your .htaccess)
<FilesMatch "\.js\.gzip$"> AddType "text/javascript" .gzip </FilesMatch> <FilesMatch "\.css\.gzip$"> AddType "text/css" .gzip </FilesMatch> AddEncoding gzip .gzip
- Optimize your images, this is REALLY important!
MIT