I have a working jQuery mobile application which does some simple $.ajax
requests for static .json files. All is well until I add a manifest: merely changing <html>
to <html manifest="myapp.appcache">
breaks my ajax! Here's my manifest:
CACHE MANIFEST
CACHE:
jquery.mobile-1.0.1.css
images/ajax-loader.png
images/icons-18-white.png
jquery-1.6.4.js
jquery.mobile-1.0.1.js
I've tried adding:
NETWORK:
salesorg.*.json
Makes no difference. Serious de ja vu here but I don't know what the solution was.
Create a ".htaccess" file and insert:
AddType text/cache-manifest .appcache
The myapp.appcache file:
CACHE MANIFEST
CACHE:
jquery.mobile-1.0.1.css
images/ajax-loader.png
images/icons-18-white.png
jquery-1.6.4.js
jquery.mobile-1.0.1.js
NETWORK:
*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With