Skip to content

Commit 444fae8

Browse files
committed
added caching
1 parent f56b29f commit 444fae8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.htaccess

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## EXPIRES CACHING ##
2+
<IfModule mod_expires.c>
3+
ExpiresActive On
4+
ExpiresByType image/jpg "access plus 1 year"
5+
ExpiresByType image/jpeg "access plus 1 year"
6+
ExpiresByType image/gif "access plus 1 year"
7+
ExpiresByType image/png "access plus 1 year"
8+
ExpiresByType text/css "access plus 1 month"
9+
ExpiresByType application/pdf "access plus 1 month"
10+
ExpiresByType text/x-javascript "access plus 1 month"
11+
ExpiresByType application/x-shockwave-flash "access plus 1 month"
12+
ExpiresByType image/x-icon "access plus 1 year"
13+
ExpiresDefault "access plus 2 days"
14+
</IfModule>
15+
## EXPIRES CACHING ##

0 commit comments

Comments
 (0)