HTTP caching documentation: add some comments
authorPeter Hartmann <peter.hartmann@nokia.com>
Wed, 13 Apr 2011 10:15:26 +0000 (12:15 +0200)
committerMarkus Goetz <Markus.Goetz@nokia.com>
Tue, 3 May 2011 14:43:58 +0000 (16:43 +0200)
src/network/access/qnetworkrequest.cpp

index 338969a..a9a1e49 100644 (file)
@@ -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