We are developing a PWA using Ionic 3.
One of our main issues, which slows us down and is quite frustrateing, is the html/css caching. When we make changes to the HTML or CSS, these changes are hardly picked by the browser, getting lost in the compilation and refresh processes.
What we need to do, using Chrome dev tools, is completely delete data app data, stop the
ionic:serve script, run
npm run clean, and start again. And that is for many changes that apply to the HTML or CSS. The typescript files are updated correctly, generally speaking.
If this goes on, we are thinking in getting rid of Ionic and use plain Angular with a service worker, but this is not our preferred option for the moment if we can solve this huge and frustrating caching issue…