diff --git a/source/net/yacy/crawler/retrieval/HTTPLoader.java b/source/net/yacy/crawler/retrieval/HTTPLoader.java index 031ead94e..1550c56d0 100644 --- a/source/net/yacy/crawler/retrieval/HTTPLoader.java +++ b/source/net/yacy/crawler/retrieval/HTTPLoader.java @@ -74,7 +74,7 @@ public final class HTTPLoader { public Response load(final Request entry, final int maxFileSize, final BlacklistType blacklistType) throws IOException { final long start = System.currentTimeMillis(); final Response doc = load(entry, DEFAULT_CRAWLING_RETRY_COUNT, maxFileSize, blacklistType); - Latency.updateAfterLoad(entry.url(), System.currentTimeMillis() - start); + if (!doc.fromCache()) Latency.updateAfterLoad(entry.url(), System.currentTimeMillis() - start); return doc; }