-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
33 lines (26 loc) · 1.03 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# DO NOT REMOVE THIS LINE AND THE LINES BELOW SSL_REDIRECT:vaidoto183.lt
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^vaidoto183.lt$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
# DO NOT REMOVE THIS LINE AND THE LINES ABOVE SSL_REDIRECT:vaidoto183.lt
Header unset ETag
FileETag None
ExpiresActive On
# Images
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/webp "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 week"
# Video
ExpiresByType video/mp4 "access plus 1 week"
ExpiresByType video/mpeg "access plus 1 week"
# CSS, JavaScript
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
ExpiresByType application/javascript "access plus 1 week"
# Others
ExpiresByType application/pdf "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"