plugins/gallery/.htaccess
changeset 36 60e80cd47b61
equal deleted inserted replaced
35:1dd30d7bf29f 36:60e80cd47b61
       
     1 # Thanks to http://phaedo.cx/archives/2007/07/25/tools-for-optimizing-your-website-etag-and-expire-headers-in-django-apache-and-lighttpd/ for this.
       
     2 FileETag MTime Size
       
     3 
       
     4 # http://www.askapache.com/htaccess/apache-speed-expires.html
       
     5 <IfModule mod_headers.c>
       
     6   <FilesMatch "\.(jpg|jpeg|png|gif|js|css)$">
       
     7     Header set Expires "Wed, 1 Jan 2020 20:00:00 GMT"
       
     8   </FilesMatch>
       
     9 </IfModule>
       
    10 
       
    11 # http://www.askapache.com/htaccess/apache-speed-compression.html
       
    12 <IfModule mod_deflate.c>
       
    13   <FilesMatch "\.(js|css)$">
       
    14     SetOutputFilter DEFLATE
       
    15   </FilesMatch>
       
    16 </IfModule>
       
    17