A few questions regarding CACHE MANIFEST syntax/limitations
I could not find any answers to the following questions, so where better than to ask on StackOverflow? :)
Can I use full abs开发者_如何转开发olute URL's in my CACHE MANIFEST file?
Example:
CACHE MANIFEST http://www.example.com/css/stylesheet.css http://www.example.com/img/image.png
Will the browser cache files on a different domain than the origin if they are listed in the MANIFEST?
Example:
CACHE MANIFEST http://www.example.com/css/stylesheet.css http://www.exampleimages.com/img/image1.png http://www.exampleimages.com/img/image2.png
I don't think you can, because of Same-Origin constraints.
精彩评论