Add comment (and force previous change to the right branch).

This commit is contained in:
Howard Stearns 2015-05-11 10:12:03 -07:00
parent aed165809c
commit cdef09c9dd

View file

@ -350,7 +350,7 @@ void Resource::maybeRefresh() {
QDateTime lastModified = variant.value<QDateTime>();
QDateTime lastModifiedOld = metaData.lastModified();
if (lastModified.isValid() && lastModifiedOld.isValid() &&
lastModifiedOld >= lastModified) {
lastModifiedOld >= lastModified) { // With >=, cache won't thrash in eventually-consistent cdn.
qCDebug(networking) << "Using cached version of" << _url.fileName();
// We don't need to update, return
return;