[webkit-qt] Implementing my cache- control flow

Tarandeep Singh tarandeep at gmail.com
Tue Apr 13 11:25:10 PDT 2010


Hi,

I am trying to implement a Database cache for webkit for my project. Can
someone please confirm if this control flow is correct-

1) For a given url, webkit will get its metadata by calling the function
     QNetworkCacheMetaData metaData( Url)

2) webkit will check the last modified date, expiration date stored in the
metadata and if these dates are fine (compared to the actual dates found on
the site) then it will get the data by calling the function-
     QIODevice * data( Url)

3) else it will get the file from network and then store in cache by first
calling prepare( ) and then insert( )

-Tarandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100413/01019e2b/attachment.html>


More information about the webkit-qt mailing list