[Webkit-unassigned] [Bug 70680] [WK2][GTK] Application cache directory is incorrectly set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 7 00:11:05 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=70680





--- Comment #6 from Zan Dobersek <zandobersek at gmail.com>  2011-11-07 00:11:05 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > For reference Chromium stores this information for me at ~/.config/chromium/Default/Application Cache.
> > 
> > I then propose for application cache directory path to be constructed this way:
> > 
> > > g_build_filename(g_get_user_data_dir(), "webkit", "applicationcache", NULL);
> > 
> > Once an agreement is made about which name to use, I'll upload a new patch.
> 
> Shouldn't it be something like this?
> 
> g_build_filename(g_get_user_cache_dir(), "webkitgtk", "applications", NULL);
> 
> or
> 
> g_build_filename(g_get_user_cache_dir(), "webkitgtk", "applicationcache", NULL);

You're right, this sort of data should be put into user's cache directory. Regarding the name of bottom directory, I'd prefer 'applications' or perhaps nothing, simply putting cached data into ~/.cache/webkitgtk (if application cache is the only cached data). Repeating the word 'cache' in the path is not helpful.

Just to note, this again shows just how wrong it is that WebKit1 puts appcache into database directory. If there's interest/need, I can open another bug.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list