強制 Tomcat6 將所有 *.manifest 檔案作為文字/快取清單進行伺服器處理? 2024-6-21 • cache tomcat6 mime 如何配置 tomcat 將所有.manifest檔案作為伺服器text/cache-manifest?我正在嘗試創建一個離線緩存,但這讓我很困惑。 答案1 將其新增至conf/web.xml: <mime-mapping> <extension>manifest</extension> <mime-type>text/cache-manifest</mime-type> </mime-mapping> 相關內容