No it doesn't... I minified the default xenforo.js file and it cut about 4k out of the "already minified" version that comes with XenForo and doesn't break anything.Actually minifying the files further with default settings breaks the JS, though - I haven't yet found a way around that.
Your file started as 130,426 bytes and ended as 126,285 bytes for a savings of 3.17%.
FAILED - (127.7 KB, compressed = 40.1 KB - savings of 87.6 KB) - http://www.techenclave.com/community/js/xenforo/xenforo.js?_v=3067a8be
At a guess I would say that's a unique string for cache purposes.
Why is it required only for this file then? There are so many other files without this.This. You need the version qualifier so that a visitor's browser knows when to request an updated copy of the file.
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>
<LocationMatch "\.(css|js|x?html?|php)$">
SetOutputFilter DEFLATE
</LocationMatch>
Simply loading the mod_deflate module doesn't activate it, but rather gives you access to using it.Now I am a bit confused. I cannot find mod_deflate or mod_expires in any of the httpd.conf file or the .htaccess file on my server. But they both are enabled.
Where am I not looking?
We use essential cookies to make this site work, and optional cookies to enhance your experience.