Skip to content

Instantly share code, notes, and snippets.

View shospodarets's full-sized avatar

Serg Hospodarets shospodarets

View GitHub Profile
@shospodarets
shospodarets / .htaccess
Created February 15, 2017 16:29 — forked from darcyliu/.htaccess
Apache GZIP compression and Expires headers
# BEGIN GZIP
# http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
<IfModule mod_deflate.c>
# Enabling Compression
SetOutputFilter DEFLATE
# Insert filters
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css