Created
August 2, 2013 04:34
-
-
Save mrmrs/6137531 to your computer and use it in GitHub Desktop.
Random useful things
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test to see if url is serving up gzipped content | |
curl --head --compressed URL | |
-------- HTACCESS STUFF ------ | |
# BEGIN GZIP | |
<ifmodule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript | |
</ifmodule> | |
# END GZIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment