I have used the .htaccess file with deflate to enable compression, and although it has worked on the whole, I have some .js files that are not working with the code I have used. I was wondering if there was a particular reason for this.
This is the deflate code -
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
And these are the files that are not working with the code above -
Compressing http://www.mysites.co.uk/js/jquery_002.js could save 61.1KiB (65% reduction).
Compressing http://www.mysites.co.uk/js/jquery.js could save 33.6KiB (67% reduction).
Compressing http://www.mysites.co.uk/js/bootstrap.js could save 22.7KiB (73% reduction).
Compressing http://www.mysites.co.uk/js/gtm.js could save 18.9KiB (60% reduction).
Compressing http://www.mysites.co.uk/js/conversion_async.js could save 4.9KiB (62% reduction).
Compressing http://www.mysites.co.uk/js/jquery.backstretch.js could save 2.4KiB (57% reduction).