Varnish VCL with basic optimization