How to clear the cache used by revBrowser?
Ben Rubinstein
benr_mc at cogapp.com
Wed Oct 22 15:15:18 EDT 2008
Eric Chatonet wrote:
> Bonjour Ben,
>
> Have a look at the cachedUrls.
> Not tested, but I would think they are there, e.g. in RAM :-)
> If it is the case the unload command will be your friend...
Bonjour Eric,
Thanks for the response, but unfortunately the cachedURLs deal only with the
data loaded through Transcript. RevBrowwser is quite unconnected to this,
being an external wrapped around (in the case of Mac) the webkit framework.
RevBrowser caches pages, swfs etc; and this cache persists between launches of
the app. It must be stored somewhere on disk, but I can't now locate where.
When webkit is wrapped in a application, such as Safari, the application
provides a user interface that invokes hooks to empty the cache; but the Rev
external that wraps webkit to make revBrowser provides no way to access this
functionality; so I'm trying to figure out where the cache is stored, so I can
trash it manually. (Safari itself is no help - it's wrapped around its own
instance of webkit, and is unconnected.)
Does anyone know where the cache is located?
Many thanks,
- Ben
More information about the use-livecode
mailing list