[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:
parent
a756e787f7
commit
48a542582d
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue