Quantcast
Channel: Why Apache doesn’t gzip css or js files which have parameters? - Server Fault
Browsing all 3 articles
Browse latest View live

Answer by markdrayton for Why Apache doesn’t gzip css or js files which have...

Hrm, interesting. I can't reproduce this:[root@dev ~]# cat /etc/httpd/conf.d/test.conf<FilesMatch "\.txt$"> SetOutputFilter DEFLATE Header set X-Ping "Pong"</FilesMatch>[root@dev ~]# GET...

View Article


Answer by Ben Williams for Why Apache doesn’t gzip css or js files which have...

The $ at the end of your regular expression will match the end of the URL, so if there is anything after the file extension, it won't match. You could omit the $ but then it would match if there was a...

View Article

Why Apache doesn’t gzip css or js files which have parameters?

Some CSS & JS files are not compressed by apache with mod_deflate enabled. This files looks like this "[domain.name]/aggregator.css?..." or "[domain.name]/misc/jquery.js?..." in YSlow. The other...

View Article
Browsing all 3 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>