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,396 times
0
![](../../users/profiles/11669.webp)
Stefan Kendall
- 1,069
- 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>
![](../../users/profiles/11669.webp)
Stefan Kendall
- 1,069
- 3
- 17
- 33