ionic appCache HTML5

Recently I worked on IonicApp, AppCache @ HTML5 and thought it to update application assets in cache without updating app to Stores.


  • Deploy an Ionic App to Heroku Refer last blog
  • Ionic app that display webView of server√

update config.xml

update html tag on serving/Remote App

{% highlight ruby %} {% endhighlight %}

Setup manifest to remote, carefully list files

{% highlight ruby %} CACHE MANIFEST


/lib/ionic/css/ionic.css /css/style.css /lib/ionic/js/ionic.bundle.js /js/app.js /index.html /#/

#CACHE: /lib/ionic/css/ionic.css /css/style.css /lib/ionic/js/ionic.bundle.js /js/app.js /index.html #/#

#NETWORK: #* # nothing yet

FALLBACK: #/index.html # nothing yet {% endhighlight %}

considered Server address is, do following changes to your Ionic App

at config.xml

{% highlight html %} {% endhighlight %}

at index.html

{% highlight javascript %} {% endhighlight %}

Do changes to application assets, kill application at simulator/device. Be careful on updating app, Cache Limits

And if you get stuck… Ask Here

email me

Rajeev Sharma
Technical Lead

software entrepreneur and father of a fairy tale!!!.