<p style="margin:0px 10px 1.5em 0px"><font><span style="background-color:rgba(255,255,255,0)">Hi There,</span></font></p><p style="margin:0px 10px 1.5em 0px"><font><span style="background-color:rgba(255,255,255,0)">I'm hoping to get round a backed API bottleneck by using the redis vmod to allow me to process some API calls very quickly with just the use of Varnish and Redis via the redis vmod (there quite simple API calls). The request would come in, Varnish looks some stuff up in redis - or sends some stuff to redis and then reply with a JSON response. Its a heavily hit API so I would rather not involve the backend webservices at all as they basically cannot handle the load.</span></font></p><p style="margin:0px 10px 1.5em 0px"><font><span style="background-color:rgba(255,255,255,0)">All good (I believe?) - however I was intending to do the REDIS work in vcl_deliver and then synthesize a JSON response - but there appears to be no way of getting from vcl_recv into vcl_deliver directly - so the only "hack" I can think or is going via vcl_error via a "error" command with some made up error code I then have to look for in vcl_error.</span></font></p><p style="margin:0px 10px 1.5em 0px"><font><span style="background-color:rgba(255,255,255,0)">Is there any other / better way of doing this?</span></font></p><p style="margin:0px 10px 1.5em 0px"><font><span style="background-color:rgba(255,255,255,0)">Thanks in advance</span></font></p><p style="margin:0px 10px 1.5em 0px"><font><span style="background-color:rgba(255,255,255,0)">Andy</span></font></p>