Adeel
Adeel

Reputation: 781

Get response body from Varnish cache

Is there a way to get the response body (not just the headers) in varnish for logging purposes ?

Upvotes: 4

Views: 1052

Answers (1)

Kevin Leo
Kevin Leo

Reputation: 850

You can't get resp body by VCL.

But you can get resp body by writing a VMOD and call the VMOD in VCL.

Upvotes: 2

Related Questions