From 5fdd72042587267dc1814f7fbebd3496cfa46b60 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Wed, 13 Apr 2011 12:15:26 +0200 Subject: HTTP caching documentation: add some comments --- src/network/access/qnetworkrequest.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/network/access/qnetworkrequest.cpp') diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp index 338969a909..a9a1e49572 100644 --- a/src/network/access/qnetworkrequest.cpp +++ b/src/network/access/qnetworkrequest.cpp @@ -247,10 +247,13 @@ QT_BEGIN_NAMESPACE \value AlwaysNetwork always load from network and do not check if the cache has a valid entry (similar to the - "Reload" feature in browsers) + "Reload" feature in browsers); in addition, force intermediate + caches to re-validate. \value PreferNetwork default value; load from the network - if the cached entry is older than the network entry + if the cached entry is older than the network entry. This will never + return stale data from the cache, but revalidate resources that + have become stale. \value PreferCache load from cache if available, otherwise load from network. Note that this can return possibly -- cgit v1.2.3