crosswalk-project / crosswalk

A web runtime built on Chrome. This project is currently unmaintained.
https://crosswalk-project.org/blog/crosswalk-final-release.html
BSD 3-Clause "New" or "Revised" License
2.32k stars 651 forks source link

[Cordova] Disable caching for local assets #4009

Closed SamVerschueren closed 6 years ago

SamVerschueren commented 6 years ago

Hi everyone! Crosswalk works great for our application. I started using Microsoft CodePush in the application but I noticed a caching problem. Apparently the index.html file is cached and it keeps loading the old index file. I found the RELOAD_IGNORE_CACHE flag but not sure if this is what I'm looking for.

Any ideas on how I can solve this problem? Is there any config.xml setting I can use to make sure it loads my local assets from disk instead of from cache?

Thanks in advance!

SamVerschueren commented 6 years ago

Apparently this had nothing to do with caching but with my base href. I pointed it to assets/www but should've been ..