Website sneller laden: htaccess bestand aanpassen: gzip

Uit: http://contao.org/en/news/optimizing-contao-for-google-page-speed.html

  # Afschermen wpconfig.php  <files wp-config.php>  Order deny,allow  deny from all  </files>    ## EXPIRES CACHING ##  ExpiresActive On  ExpiresByType image/jpg "access plus 1 year"  ExpiresByType image/jpeg "access plus 1 year"  ExpiresByType image/gif "access plus 1 year"  ExpiresByType image/png "access plus 1 year"  ExpiresByType image/ico "access plus 1 year"  ExpiresByType text/css "access plus 1 month"  ExpiresByType application/pdf "access plus 1 month"  ExpiresByType text/x-javascript "access plus 1 month"  ExpiresByType text/javascript "access plus 1 month"  ExpiresByType application/x-shockwave-flash "access plus 1 month"  ExpiresByType text/php "access plus 1 month"  ExpiresByType text/js "access plus 1 month"  ExpiresByType text/html "access plus 1 month"  ExpiresByType image/x-icon "access plus 1 year"  ExpiresDefault "access plus 1 week"    ## EXPIRES CACHING ##    # compress text, html, javascript, css, xml:  AddOutputFilterByType DEFLATE text/plain  AddOutputFilterByType DEFLATE text/html  AddOutputFilterByType DEFLATE text/xml  AddOutputFilterByType DEFLATE text/css  AddOutputFilterByType DEFLATE application/xml  AddOutputFilterByType DEFLATE application/xhtml+xml  AddOutputFilterByType DEFLATE application/rss+xml  AddOutputFilterByType DEFLATE application/javascript  AddOutputFilterByType DEFLATE application/x-javascript    # remove browser bugs  BrowserMatch ^Mozilla/4 gzip-only-text/html  BrowserMatch ^Mozilla/4\.0[678] no-gzip  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html  Header append Vary User-Agent    # Or, compress certain file types by extension:  <files *.html>  SetOutputFilter DEFLATE  </files>    <IfModule mod_headers.c>  <FilesMatch "\.(js|css|xml|gz)$">  Header append Vary Accept-Encoding  </FilesMatch>  </IfModule>  

Of https://gtmetrix.com/enable-gzip-compression.html