开发者

Can cache manifest files be served from a different host?

开发者 https://www.devze.com 2023-02-28 17:51 出处:网络
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 <

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?


The manifest attribute can point to an absolute URL or relative path, but an absolute URL must be under the same origin as the web application

Source.

0

精彩评论

暂无评论...
验证码 换一张
取 消