Currently there are 4 values in the enum, AlwaysNetwork, PreferNetwork, PreferCache and AlwaysCache.
The problem is that documentation and implementation don't match, which has led to a few bug-reports .
All of the logic relevant to this issue resides at .
In short: PreferNetwork and PreferCache are not considered, at all. They always behave the same way.
For both options Qt will check if certain Cache-Control values are set which demand us to query the source for changes, and if those are not set Qt will check if the cached content has expired, and if not, will return the cached content.
This behavior matches neither of the two's documentation.
There were patches written separately to make the code match their documentation counter-parts, but then a majority of the code (which implements actual sane behavior) is no longer used!
It's unclear what the best solution is in this situation, so this issue is created in hopes of arriving at a good solution.