Parsing beresp.response in vcl_fetch

Enrico Sartorello enrico.sartorello at gmail.com
Fri Jan 13 12:17:41 CET 2012


Hello,

For the caching solution I am considering, we need to decide whether an
object is cacheable or not based on the content of the HTTP response
(actually, a JSON object).
Therefore, my question is the following: is it possible from vcl_fetch to
parse\evaluate somehow the beresp.response object? If so, which is the
correct way to do so?

Thanks for the attention,

-- 
Enrico Sartorello
http://enrico.sartorello.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120113/c675a3c1/attachment.html>


More information about the varnish-misc mailing list