WebContext.setDiskCacheDirectory

Set the directory where disk cache files will be stored This method must be called before loading anything in this context, otherwise it will not have any effect.

Note that this method overrides the directory set in the #WebKitWebsiteDataManager, but it doesn't change the value returned by webkit_website_data_manager_get_disk_cache_directory() since the #WebKitWebsiteDataManager is immutable.

More...
class WebContext
void
setDiskCacheDirectory
(
string directory
)

Parameters

directory string

the directory to set

Detailed Description

Deprecated: Use webkit_web_context_new_with_website_data_manager() instead.

Meta