Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

do not use proxy caching rules for crawling

orbiter8c96bc2ac1fc
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index 90c9b0a7a..d4db33cb3 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -1032,7 +1032,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch<IndexingStack.
// work off unwritten files
if (entry.cacheArray() != null) {
- final String error = entry.shallStoreCacheForProxy();
+ final String error = (entry.initiator() == null) ? entry.shallStoreCacheForProxy() : null;
if (error == null) {
plasmaHTCache.storeFile(entry.url(), entry.cacheArray());
if (this.log.isFine()) this.log.logFine("WROTE FILE (" + entry.cacheArray().length + " bytes) for " + entry.url());