-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
48 lines (35 loc) · 1.74 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# ----------------------------------------------------------------------
# | Mime types
# ----------------------------------------------------------------------
<IfModule mod_mime.c>
# Data interchange
AddType application/json json map topojson
# JavaScript
AddType application/javascript js
# Manifest files
<Files "manifest.json">
AddType application/manifest+json json
</Files>
AddType application/x-web-app-manifest+json webapp
# ************* HTML5 Application Cache Manifest *******************
AddType text/cache-manifest appcache
# Web fonts
AddType application/font-woff woff
AddType application/font-woff2 woff2
AddType application/vnd.ms-fontobject eot
AddType application/x-font-ttf ttc ttf
AddType font/opentype otf
AddType image/x-icon cur ico
</IfModule>
# ----------------------------------------------------------------------
# | Expires headers |
# ----------------------------------------------------------------------
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 0 seconds"
# Manifest files
ExpiresByType application/manifest+json "access plus 1 year"
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
# ************* HTML5 Application Cache Manifest *******************
ExpiresByType text/cache-manifest "access plus 0 seconds"
</IfModule>