Bug 144042 - Improve documentation for webkit_web_context_set_disk_cache_directory
Summary: Improve documentation for webkit_web_context_set_disk_cache_directory
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-22 07:40 PDT by Michael Catanzaro
Modified: 2015-04-22 10:27 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.