# Detect the request for the ESI endpoint and trigger the necessary
# error condition so we can generate a synthetic response.
if (req.url ~ "^/__since/\d{1,}") {
  error 600;
}

# Make sure the origin server does not gzip the
# response. We can't process ESIs in gzipped content
unset req.http.Accept-Encoding;