Force a page load without cache (or clear cache)?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Force a page load without cache (or clear cache)?

Postby NCooper » Fri Sep 03, 2010 6:53 am

Is there any way to force CEF to clear its cache, or not use cache at all? I've tried clearing the contents of the cache path set on cef_initialize, but they can't be deleted while CEF is already running; and passing an empty string as cache dir to cef_initialize didn't help.
NCooper
Newbie
 
Posts: 3
Joined: Wed Sep 01, 2010 7:21 am

Re: Force a page load without cache (or clear cache)?

Postby magreenblatt » Fri Sep 03, 2010 10:40 am

Passing an empty string as the |cache_path| argument to CefInitialize() will cause CEF to use an in-memory cache (no cache data will be written to disk). If you want to avoid having data for specific pages cached then you can use any of the usual cache avoidance methods supported by Web browsers.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Force a page load without cache (or clear cache)?

Postby lodle » Sun Sep 05, 2010 3:10 am

Are you trying to refresh a page and have it not use the cache? Im about to post a patch for that
lodle
Techie
 
Posts: 32
Joined: Tue Jun 01, 2010 4:36 am

Re: Force a page load without cache (or clear cache)?

Postby Neurotechnic » Sun Jan 23, 2011 2:24 am

I am to want to fully disable cache. But don't know how to do that...
Neurotechnic
Newbie
 
Posts: 1
Joined: Sun Jan 23, 2011 2:21 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 57 guests