Priority: P2: Important
Affects Version/s: 5.12.1
Fix Version/s: None
Component/s: Network: Cache
On Android, if the location given to QDiskNetworkCache::
setCacheDirectory contains a '.', we get stale pages returned.
The same code works on Linux desktop.
The test app has a hard coded URL, you will need to point to a file on a server that you can change. I used Apache2.
Build the app and deploy to Android.
The first line of the returned file will be displayed.
Modify the first line of file on the server
Click "fetch" again.
Note: the message has not changed.
I think, even if this is an Android issue, the cache should not return stale data, if it is unsure it should re-request it.