The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Tom F (4) [Avatar] Offline
#1
While working thru the Lorikeet sample application in Chapter 2 the magic of page caching rears it ugly head. I'm seeing several ideas for clearing it but thought you might consider discussing & recommending?
paulbjensen (39) [Avatar] Offline
#2
Hi,

I haven't come across this problem. Could you describe what OS you are running on so I can try to replicate the issue that you are having, as well as what version of NW.js you have installed?

Regards,

Paul Jensen
Tom F (4) [Avatar] Offline
#3
Running on Windows 74 64-bit with nw.js v0.12.3, io.js v1.2.0 and Chromium 41.0.2272.76

I added the below snippet which worked well for me?!
var gui = require('nw.gui');
gui.App.clearCache();