CEF Browser Cache?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
CEF Browser Cache?
Hey guys,
I'm looking for either the functionality to clear the cache of a revBrowserOpenCef created browser instance, or the location of the cache folder to delete it myself on Windows.
Obviously I've googled already, and the posts I've seen suggest there isn't the functionality to do this yet, and all of the locations suggested are OSX relevant unfortunately.
Context: localhost site is caching a Javascript file that I have since updated (and will need to continue updating in the near future), and unfortunately due to the URL rewriting rules of our setup I can't just add a time based query string to the end of the script location... which is annoying in itself.
Thoughts or suggestions would be greatly appreciated.
I'm looking for either the functionality to clear the cache of a revBrowserOpenCef created browser instance, or the location of the cache folder to delete it myself on Windows.
Obviously I've googled already, and the posts I've seen suggest there isn't the functionality to do this yet, and all of the locations suggested are OSX relevant unfortunately.
Context: localhost site is caching a Javascript file that I have since updated (and will need to continue updating in the near future), and unfortunately due to the URL rewriting rules of our setup I can't just add a time based query string to the end of the script location... which is annoying in itself.
Thoughts or suggestions would be greatly appreciated.
Re: CEF Browser Cache?
Have you checked cachedURLs? You can unload cached URLs if thats the case.
Knowledge is meant to be shared.
Re: CEF Browser Cache?
Hey Zaxos thanks for the reply 
I'm pretty sure that cachedURLs only applies to the files loaded by using the load keyword, open browser instances look after their own cache :/

I'm pretty sure that cachedURLs only applies to the files loaded by using the load keyword, open browser instances look after their own cache :/
Re: CEF Browser Cache?
I see, since revOpenBrowserCef is using Chromium and Chromium is saving cached sites at "C:\Users\%USERNAME%\AppData\Local\" have you checked if something usefull is there?
Knowledge is meant to be shared.
Re: CEF Browser Cache?
Using proc mon i found out that livecode including browserCef saves data at "C:\Users\%USERNAME%\AppData\Local\Temp\scoped_dir728_9675", my guess is that this dir has a different name on your machine but "scoped_dir" suffix is the same, you could do a check in the temp dir ans delete all "scoped_dir" directories...
Knowledge is meant to be shared.
Re: CEF Browser Cache?
Zaxos, that's great! The Temp Folder for me contains about a dozen "scoped_dir" folders for me, so I guess that's from each of the different processes I've started during my development. Great job 
