From d7767e75890c17b729cece9020d3cb409ee47afe Mon Sep 17 00:00:00 2001 From: orbiter Date: Tue, 22 Jun 2010 19:16:26 +0000 Subject: [PATCH] IFFRESH is too strong, IFEXIST sufficient for cache policy when doing a link verification (this is as it was two commits before) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6938 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacysearch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index 7e3b3055e..398c928e6 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -97,7 +97,7 @@ public class yacysearch { // get query String originalquerystring = (post == null) ? "" : post.get("query", post.get("search", "")).trim(); String querystring = originalquerystring.replace('+', ' '); - CrawlProfile.CacheStrategy snippetFetchStrategy = (post != null && post.get("verify", "false").equals("true")) ? CrawlProfile.CacheStrategy.IFFRESH : CrawlProfile.CacheStrategy.parse(post.get("verify", "cacheonly")); + CrawlProfile.CacheStrategy snippetFetchStrategy = (post != null && post.get("verify", "false").equals("true")) ? CrawlProfile.CacheStrategy.IFEXIST : CrawlProfile.CacheStrategy.parse(post.get("verify", "cacheonly")); if (snippetFetchStrategy == null) snippetFetchStrategy = CrawlProfile.CacheStrategy.CACHEONLY; final serverObjects prop = new serverObjects();