summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkrequest.cpp
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2011-04-13 12:15:26 +0200
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-05-03 16:43:58 +0200
commit5fdd72042587267dc1814f7fbebd3496cfa46b60 (patch)
tree6335b2e0ab8625957ceb99e091df2fcf8e3aea4a /src/network/access/qnetworkrequest.cpp
parent04f2c4a7a7c65ff36ad60a26b193fa9d681af45f (diff)
HTTP caching documentation: add some comments
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
-rw-r--r--src/network/access/qnetworkrequest.cpp7
1 files changed, 5 insertions, 2 deletions
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