ripple-emulator / ripple

A browser based, platform agnostic mobile application development and testing tool.
Apache License 2.0
46 stars 20 forks source link

Ripple has cached my javascript and html! #18

Open JeremyColton opened 8 years ago

JeremyColton commented 8 years ago

I have noticed that Ripple is served old Javascript! I've cleared the cache in Chrome and re-started Ripple. It makes no difference.

Where is the web server that Ripple uses located on a Mac? How can I 'kick' it to clear its cache?

Thanks

KODerFunk commented 8 years ago

Hi! Sometimes I also incorrectly updates the page. This can be understood by a quick restart of the page. It seems that Ripple has a mechanism for full update, but sometimes buggy. If it sticks, it saves a click on the area of my application and cmd + R. Full reload can be identified by a complete cleansing of the page and the appearance of the Ripple loader: Ripple loader

xiaobubu3563 commented 8 years ago

Hi, Have you resolve this problem yet?

jitbit commented 7 years ago

Anyone has any workarounds?

jmwolfe commented 7 years ago

Having this issue with Chrome a year later. Hard reload using Chrome DevTools and complete restart of Visual Studio still do not clear this problem. What a pain!

Found an answer on the Cordova forum. In my case the above symptoms were caused by the Cordova cache. Clear it out and it will pick up your changes.

HOW TO: If you're in VisualStudio, go into your Tools -> Options -> Tools for Apache Cordova and clear the cache. That closes your project if it's open. Then remove the platform subfolder in /platforms that corresponds to the platform that ripple is caching for. When you reopen your solution and rebuild, it may take a while longer but the cache will be cleared out and all the latest should show in Chrome. It's worthy to note that Ripple did fine after that, picking up changes to my project as I went along.