Miscellaneous

Uncategorized features.

  • fastly.hash A MurmurHash-based hash function
  • fastly.try_select_shield If the shield named in the first argument is healthy and available, return it. Otherwise return the second argument.
  • http_status_matches Determine whether a HTTP status code matches a pattern
  • if Ternary operator for strings
  • resp.tarpit Anti-abuse function to allow Varnish to pace the rate its response is sent to the client
  • setcookie.delete_by_name Delete a Set-Cookie response header by name
  • setcookie.get_value_by_name The value of a cookie from the Set-Cookie header
  • std.collect Combine multiple instances of the same header into one
  • std.count Count the number of elements in a collection
  • subfield Parse a subfield from a header