Commit fb9572e71ef230bd59bdb7452135ed99183aa132

Authored by Timur Kastemirov
1 parent ddc91e83

caching browser

Showing 1 changed file with 5 additions and 2 deletions   Show diff stats
@@ -67,8 +67,7 @@ AddDefaultCharset utf-8 @@ -67,8 +67,7 @@ AddDefaultCharset utf-8
67 <IfModule mod_expires.c> 67 <IfModule mod_expires.c>
68 # Turn on the module. 68 # Turn on the module.
69 ExpiresActive on 69 ExpiresActive on
70 - # Set the default expiry times.  
71 - ExpiresDefault "access plus 2 days" 70 +
72 ExpiresByType image/jpg "access plus 1 month" 71 ExpiresByType image/jpg "access plus 1 month"
73 ExpiresByType image/gif "access plus 1 month" 72 ExpiresByType image/gif "access plus 1 month"
74 ExpiresByType image/jpeg "access plus 1 month" 73 ExpiresByType image/jpeg "access plus 1 month"
@@ -76,4 +75,8 @@ AddDefaultCharset utf-8 @@ -76,4 +75,8 @@ AddDefaultCharset utf-8
76 ExpiresByType image/ico "access plus 1 month" 75 ExpiresByType image/ico "access plus 1 month"
77 ExpiresByType image/x-icon "access plus 1 month" 76 ExpiresByType image/x-icon "access plus 1 month"
78 ExpiresByType text/html "access plus 600 seconds" 77 ExpiresByType text/html "access plus 600 seconds"
  78 + ExpiresByType text/javascript "access 2 days"
  79 + ExpiresByType text/css "access 2 days"
  80 + # Set the default expiry times.
  81 + ExpiresDefault "access plus 2 days"
79 </IfModule> 82 </IfModule>
80 \ No newline at end of file 83 \ No newline at end of file