Answer the question
In order to leave comments, you need to log in
Why is gzip not enabled for js file?
Good time. I continue to develop a plugin to speed up the loading of the site. I'm doing tests on
https://developers.google.com/speed/pagespeed/insi...
Now a new misfortune
The following is written in htaccess
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</ifmodule>
Answer the question
In order to leave comments, you need to log in
Maybe because the script is on one domain, and the site itself is on another? And of course, your server will only compress the files that it has, and the browser downloads the script separately.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question