HTML5 application cache for .json files?
Does application cache work with files other than images and js / css / html?
I am trying to cache .json files that are later called via XMLHttpRequest on a URL
resources/data/countries.json
, but the browser is calling home and not using the cached file.
Checking the app cache with Chrome I see a. Regular files (js / css / html / images) work as expected. No error occurs during the caching / loading process.
Is it the reason this just doesn't work with the application cache, or could it be something else?
Thank!
+3
source to share