set_disk_cache_directory


Description:

[ 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.

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.

Parameters:

this

a WebContext

directory

the directory to set