[squid-users] Use of conditionals in config file

Ulises Nicolini ulises at vianetcon.com.ar
Tue Jul 7 15:03:21 UTC 2015


Hello,

Is there any way to do something like this?

if ${process_number} = 2 && url_regex facebook.com.*

	cache_dir aufs /cache_face   590000  32 256 min-size=500 max-size=576000
endif


Of course this is not valid syntax config , but the idea is to store in a certain cache_dir only the content from a given domain (i.e facebook.com.*)

Thanks


Ulises

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150707/ca882522/attachment.html>


More information about the squid-users mailing list