Skip to content

Instantly share code, notes, and snippets.

@GangGreenTemperTatum
Created October 25, 2024 13:08
Show Gist options
  • Select an option

  • Save GangGreenTemperTatum/853ed142df876d354134b18415d96700 to your computer and use it in GitHub Desktop.

Select an option

Save GangGreenTemperTatum/853ed142df876d354134b18415d96700 to your computer and use it in GitHub Desktop.
Bambdas Cheat Sheet

Display responses that came from a server-side cache (Varnish/Cloudfront) with this filter bambda:

return requestResponse.response().headerValue("X-Cache").toLowerCase().contains("hit");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment