/*
- * $Id: cache_cf.cc,v 1.280 1998/05/01 17:37:13 wessels Exp $
+ * $Id: cache_cf.cc,v 1.281 1998/05/01 21:09:55 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
}
}
-static void
-dump_regexlist(StoreEntry * entry, const char *name, relist * var)
-{
- storeAppendPrintf(entry, "%s", name);
- while (var != NULL) {
- storeAppendPrintf(entry, " %s", var->pattern);
- var = var->next;
- }
- storeAppendPrintf(entry, "\n");
-}
-
-static void
-parse_regexlist(relist ** var)
-{
- aclParseRegexList(var);
-}
-
-static void
-free_regexlist(relist ** var)
-{
- aclDestroyRegexList(*var);
- *var = NULL;
-}
-
static void
dump_string(StoreEntry * entry, const char *name, char *var)
{
no_cache deny QUERY
DOC_END
-NAME: cache_stoplist_pattern
-TYPE: regexlist
-LOC: Config.cache_stop_relist
-DEFAULT: none
-DOC_START
- Just like 'cache_stoplist' but you can use regular expressions
- instead of simple string matching. There is no default.
- Insert -i to get case-insensitive regular expressions.
-
-cache_stoplist_pattern
-DOC_END
-
COMMENT_START
OPTIONS WHICH AFFECT THE CACHE SIZE
/*
- * $Id: client_side.cc,v 1.294 1998/04/27 19:55:10 wessels Exp $
+ * $Id: client_side.cc,v 1.295 1998/05/01 21:09:57 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
*/
if (!aclCheckFast(Config.accessList.noCache, &ch))
return 0;
- if (Config.cache_stop_relist)
- if (aclMatchRegex(Config.cache_stop_relist, url))
- return 0;
if (req->protocol == PROTO_HTTP)
return httpCachable(method);
/* FTP is always cachable */