Any reasonable way to find and replace response body with VCL?



  • Official comment

    Hello Austin,

    I have totally missed your question, I would apologise for the delay.
    You cannot modify response body on vcl delivery service, however it is possible to do (and more!) if you use Compute@Edge services. Compute@Edge is a computation platform capable of running custom binaries that you compile on your own systems and upload to Fastly. Security and portability is provided by compiling your code to WebAssembly.

    The link below is to help you to start off this wonderful edge computing

    Thank you!

    Comment actions Permalink
  • Austin Pena

    Or should I use inline C? If so, what variable do I use to access and then replace the response body?

    Comment actions Permalink

Please sign in to leave a comment.