leverage cache browsing

1 replies
  • WEB DESIGN
  • |
How do i make changes in leverage cache browsing if my site makes changes monthly.
what time frame do i set or i will have to make changes every-time when site gets changes
#browsing #cache #leverage
Avatar of Unregistered
  • Profile picture of the author aassif
    You don't need to make changes every-time. Just use this code

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>

    hope it will help your leverage browser cache problem.
    {{ DiscussionBoard.errors[11426516].message }}

Trending Topics