added varnish support