platformsh / example-typo3

Starter kit for running TYPO3 on Platform.sh. Maintained by the TYPO3 Community Interest Group (CIG Platform.sh)
http://platform.sh/
GNU General Public License v3.0
16 stars 9 forks source link

compressionLevel is destroying the backend and frontend #22

Closed QuingKhaos closed 7 years ago

QuingKhaos commented 7 years ago

Activating gzip compression destroys the backend and the frontend (if compressJs/Css = 1), because of the generation of .gzip files, but yet missing Content-Encoding headers.

    $GLOBALS['TYPO3_CONF_VARS']['BE']['compressionLevel'] = 9;
    $GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 9;

I wish TYPO3 would use the official .gz extension and not .gzip, so nginx would automatically pick that up. Of course TYPO3 would need to not request the .gzip/.gz files, instead it should request the default files, because the server can decide, which file to deliver...

W4ldgeist commented 3 years ago

Is there a solution for this problem? .gz is the standard across the web and .gzip is causing problems with nginx.