Static Gzip for .htaccess

Categories: Uncategorized

Optimize website performance through static Gzip via .htaccess:

# STATIC GZIP AddEncoding gzip .gz AddEncoding deflate .df ForceType text/html ForceType text/xml ForceType text/plain ForceType image/x-icon ForceType image/vnd.microsoft.icon ForceType text/css ForceType application/x-javascript ForceType image/svg+xml ForceType font/ttf ForceType font/otf ForceType application/vnd.ms-fontobject ForceType text/richtext ForceType text/xsd ForceType text/xsl AddType text/css css AddType application/x-javascript js AddType text/html html htm AddType text/richtext rtf rtx AddType text/plain txt AddType text/xsd xsd AddType text/xsl xsl AddType text/xml xml AddType text/cache-manifest manifest AddType video/asf asf asx wax wmv wmx AddType video/avi avi AddType video/ogg ogg ogv AddType video/mp4 mp4 m4v AddType video/webm webm AddType video/divx divx AddType video/quicktime mov qt AddType video/mpeg mpeg mpg mpe AddType audio/midi mid midi AddType audio/mpeg mp3 m4a AddType audio/ogg ogg AddType audio/x-realaudio ra ram AddType audio/wav wav AddType audio/wma wma AddType image/svg+xml svg svgz AddType image/bmp bmp AddType image/gif gif AddType image/x-icon ico AddType image/vnd.microsoft.icon ico AddType image/jpeg jpg jpeg jpe AddType image/png png AddType image/tiff tif tiff AddType font/ttf ttf AddType font/otf otf AddType font/x-woff woff AddType application/vnd.ms-fontobject eot AddType application/msword doc docx AddType application/x-msdownload exe AddType application/vnd.ms-access mdb AddType application/vnd.ms-project mpp AddType application/vnd.ms-powerpoint pot pps ppt pptx AddType application/vnd.ms-write wri AddType application/vnd.ms-excel xla xls xlsx xlt xlw AddType application/vnd.oasis.opendocument.database odb AddType application/vnd.oasis.opendocument.chart odc AddType application/vnd.oasis.opendocument.formula odf AddType application/vnd.oasis.opendocument.graphics odg AddType application/vnd.oasis.opendocument.presentation odp AddType application/vnd.oasis.opendocument.spreadsheet ods AddType application/vnd.oasis.opendocument.text odt AddType application/java class AddType application/x-gzip gzip AddType application/pdf pdf AddType application/x-shockwave-flash swf AddType application/x-tar tar AddType application/zip zip # STATIC GZIP end
«