How do I configure tomcat to server all .manifest
files as text/cache-manifest
? I'm trying to create an offline cache, and this is tripping me up.
Asked
Active
Viewed 2,401 times
0

Stefan Kendall
- 1,079
- 3
- 17
- 33
1 Answers
2
Add this to conf/web.xml:
<mime-mapping>
<extension>manifest</extension>
<mime-type>text/cache-manifest</mime-type>
</mime-mapping>

Stefan Kendall
- 1,079
- 3
- 17
- 33