[Webkit-unassigned] [Bug 123333] [curl] Add file cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 5 20:06:50 PST 2013


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


Chen Zhixiang <chenzx at cn.fujitsu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chenzx at cn.fujitsu.com




--- Comment #3 from Chen Zhixiang <chenzx at cn.fujitsu.com>  2013-11-05 20:05:37 PST ---
Hi, I've implemented a http discache module for WinCE port's default WinInet backend, and later migrated to cURL.

The impl. is based on Qt's source code, but later trimmed a lot.

The cache file format mainly contains 3 parts: a fixed-size header struct; a http response header, but can be skipped by header-length field of previous struct; the response body.

And it also uses Qt's tricks: such as storing cache file first into a temple file, and later renamed to a url-hashed file name. This may maximize the `ACID` property of low-level file operations.

Hope these information may help you!

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