forked from kiswa/TaskBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htaccess
More file actions
18 lines (16 loc) · 656 Bytes
/
Copy path.htaccess
File metadata and controls
18 lines (16 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Thanks to GliderPro's comment on Issue 102
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</IfModule>
<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 year"
ExpiresByType text/x-javascript "access 9 months"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 seconds"
</IfModule>