Do not send multiple equal commands to Varnish on connect

Closes #135
Also accept varnish "secret" in config
This commit is contained in:
Sandro Santilli
2014-02-12 16:14:27 +01:00
parent cdbcc7dc18
commit bf45bbea56
10 changed files with 21 additions and 8 deletions
@@ -99,6 +99,7 @@ var config = {
,varnish: {
host: 'localhost',
port: 6082,
secret: 'xxx',
ttl: 86400
}
// If useProfiler is true every response will be served with an