[ Version ( deprecated = true , deprecated_since = "2.10." ) ]
public void set_disk_cache_directory (string directory)
Warning: set_disk_cache_directory is deprecated since 2.10..
Set the directory where disk cache files will be stored.
Use WebContext.with_website_data_manager instead.
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 WebsiteDataManager, but it doesn't change the value returned by get_disk_cache_directory since the WebsiteDataManager is immutable.
this | |
directory |
the directory to set |