Bug 144042

Summary: Improve documentation for webkit_web_context_set_disk_cache_directory
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Minor CC: mcatanzaro
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description Michael Catanzaro 2015-04-22 07:40:10 PDT
rishi:  I am seeing something bizarre with WK2.
rishi:  It seems to clear out the contents of the ~/.cache/gnome-documents/ directory.

We need to document that the default cache directory is g_get_user_cache_dir()/g_get_application_name(), and that WebKit will delete any files it finds there (since libsoup 2.50). Otherwise applications that try to use it for their own cache, like GNOME Documents, will have a bad time.
Comment 1 Michael Catanzaro 2015-04-22 10:27:50 PDT
Bug #144048 has a better solution for this.