可以从不同的主机提供缓存清单文件吗?
我正在为一位朋友托管一个缓存清单文件,因为他的服务器以纯文本形式提供清单文件,并且他无法更改它。他自己在自己的服务器上托管其余页面。因此,他的 标记有一个
manifest
属性,该属性是指向我的服务器的完整 URL。
但它似乎不起作用。这是因为缓存清单文件与它所在的网页来自不同的主机吗?
I am hosting a cache manifest file for a friend, because his server serves manifest files as plain text and he can't change it. He's hosting the rest of his pages himself, on his server. So his <html>
tag has a manifest
attribute that is a complete URL that points to my server.
But it doesn't seem to be working. Is this because the cache manifest file is from a different host as the web page that it is in?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来源。
Source.