Skip to content

Instantly share code, notes, and snippets.

@mrmrs
Created August 2, 2013 04:34
Show Gist options
  • Save mrmrs/6137531 to your computer and use it in GitHub Desktop.
Save mrmrs/6137531 to your computer and use it in GitHub Desktop.
Random useful things
# 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