fix: serve css/js via cdn
This commit is contained in:
@@ -85,6 +85,11 @@ $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['rootline']
|
||||
'groups' => ['pages'],
|
||||
];
|
||||
|
||||
// Assets are served through the bunny.net CDN, which gzip/brotli-compresses at the edge.
|
||||
// Pre-gzipped .gzip twins are served with Content-Encoding: gzip and cannot be processed
|
||||
// by the CDN, so stop generating them. mod_deflate still compresses direct origin hits.
|
||||
$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 0;
|
||||
|
||||
// suppress php deprecation warnings flooding typo3 logs
|
||||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] =
|
||||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] & ~E_DEPRECATED & ~E_USER_DEPRECATED;
|
||||
|
||||
Reference in New Issue
Block a user