Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230892

Web Server Cache Issue with Ionic App

$
0
0

What you are using to build your app? If you are using Vite, it adds a hash to the filenames so the cache gets busted on new builds. The only file that the browser would cache would be the index.html which you could configure the cache TTL on your server or set index.html to never cache like Cache-Control: no-store.

You could also implement something that alerts the user they are running an older version and need to refresh to load the most recent.


Viewing all articles
Browse latest Browse all 230892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>