Search code examples
htmlhtml5-appcachekik

Caching Facebook Profiles With Appcache


I am having an issue caching facebook profile pictures using appcache. In my Cache Manifest, I have a number of external resources successfully cached so I tried to save profiles in the same manner (for eg, http://graph.facebook.com/21305053/picture?type=large).

However, when the page loads I get the following error: "Application Cache Progress event: Resource fetch failed (4) http://graph.facebook.com/21305053/picture?type=large"

Thanks in advance!


Solution

  • This usually happens an is served over HTTPS and the manifest references files on another origin. AppCache has a same-origin policy when served over HTTPS.