We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I noticed an issue with TYPO3 v12 and the changed file extension of compressed files from .gzip to .gz (https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-93182-ChangedFileExtensionForGzipCompressedFiles.html).
The corresponding .htaccess rules get overridden by the suggested staticfilecache configuration, which forces the type text/html for all .gz files:
<FilesMatch "\.gz$"> ForceType text/html # AddType "text/html" .gz </FilesMatch>
A solution could be, that the suggested staticfilecache configuration also provides correct file types for .js.gz and .css.gz:
.js.gz
.css.gz
<FilesMatch "\.gz$"> ForceType text/html # AddType "text/html" .gz </FilesMatch> <FilesMatch "\.js\.gz$"> ForceType text/javascript # AddType "text/javascript" .gz </FilesMatch> <FilesMatch "\.css\.gz$"> ForceType text/css # AddType "text/css" .gz </FilesMatch>
The text was updated successfully, but these errors were encountered:
Good point... fixed with next commit.
Sorry, something went wrong.
a990aea
No branches or pull requests
Hi there,
I noticed an issue with TYPO3 v12 and the changed file extension of compressed files from .gzip to .gz (https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-93182-ChangedFileExtensionForGzipCompressedFiles.html).
The corresponding .htaccess rules get overridden by the suggested staticfilecache configuration, which forces the type text/html for all .gz files:
A solution could be, that the suggested staticfilecache configuration also provides correct file types for
.js.gz
and.css.gz
:The text was updated successfully, but these errors were encountered: