Cache path

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.

Cache path

Postby rotolino » Tue Jan 18, 2011 7:08 am

Hello there,
I can see the following lines on cef sample:

// Specify a cache path value.
// CefString(&settings.cache_path).FromASCII("c:\\temp\\cache");

Are they commented out for some reason?
Can I still specify a cache folder?
Will all files downloaded from my site cached there and used next time I run the same web page?

Thanks in advance.
Last edited by rotolino on Tue Jan 18, 2011 10:47 am, edited 1 time in total.
rotolino
Mentor
 
Posts: 68
Joined: Sun Dec 26, 2010 10:22 am

Re: Cache path

Postby magreenblatt » Tue Jan 18, 2011 7:52 am

You can specify a cache folder. The commented out line demonstrates how to do so. Cached page content, cookies, etc. will be stored in the specified folder.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Cache path

Postby rotolino » Tue Jan 18, 2011 10:47 am

It works! Thank you.
rotolino
Mentor
 
Posts: 68
Joined: Sun Dec 26, 2010 10:22 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 68 guests