Tag: mod_expires

  • Leverage Browser Caching in .htaccess File

    Leverage browser caching The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources: With a note of: (expiration not specified) To deal with this, I added the following to my .htaccess file: <FilesMatch “\.(ico|jpg|jpeg|png|gif|js|css|swf|woff|ICO|JPG|JPEG|PNG|GIF|JS|CSS|SWF|WOFF)$”> <IfModule mod_expires.c> ExpiresActive on ExpiresDefault “access plus 30…