加载缓存清单文件 [英] Load cache manifest file

查看:176
本文介绍了加载缓存清单文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让服务器使用 text / cache-manifest 内容类型返回清单文件?默认情况下,如果我将它放入服务器并包含到< html manifest =cache.manifest> 中,它将被加载类型为 application / x-ms-manifest

解决方案

这就是为什么推荐的扩展名为清单文件现在是 .appcache - 微软已经在使用 .manifest 来做其他事情。配置内容类型:


How to make server to return manifest file with text/cache-manifest content type? By default, if I put it to the server and include into <html manifest="cache.manifest"> it is being loaded with type application/x-ms-manifest.

解决方案

That's one of the reasons why the recommended extension for manifest files is now .appcache - Microsoft is already using .manifest for something else. To configure content types:

这篇关于加载缓存清单文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆