[bitnami/wordpress] Deflate javascript with mime-type text/javascript (#63461)

Deflate javascript with mime-type text/javascript

Servers should use text/javascript for JavaScript resources, in accordance with Updates to ECMAScript Media Types. Servers should not use other JavaScript MIME types for JavaScript resources, and must not use non-JavaScript MIME types. [RFC9239](https://www.rfc-editor.org/rfc/rfc9239)

Signed-off-by: Anne Datema <anne@flexsoftware.nl>
Co-authored-by: Anne Datema <anne@flexsoftware.nl>
This commit is contained in:
ametad 2024-03-15 16:56:01 +01:00 committed by GitHub
parent a756e787f7
commit 48a542582d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
AddOutputFilterByType DEFLATE application/rss+xml
</IfModule>