Htaccess File

ghankerson/responsive-lazy/master/.htaccess

Pragma
RewriteEngine on

#Far Future Expires Header
<FilesMatch ".(gif|png|jpg|js|css|swf)$">
    ExpiresActive On
    ExpiresDefault "access plus 10 years"
    Header unset Pragma
  FileETag None
  Header unset ETag 
</FilesMatch>

#Rules for Versioned Static Files
RewriteRule (.+).([0-9]+).(js|css|jpg|gif|png)$  $1.$3 [L]

RewriteRule ^(.+).php$    $1.html  [L]
Exit mobile version