Record

lookup-options

Non-required options for cache lookups.

record lookup-options {
  override-key: option​<list​<u8>>,
  backend: option​<borrow​<backend>>,
  extra: option​<borrow​<extra-lookup-options>>,
}

Fields

NameTypeDescription
override-keyoption​<list​<u8>>

Cache key to use in lieu of the automatically-generated cache key based on the request's properties.

The cache key must be exactly 32 bytes long.

backendoption​<borrow​<backend>>

Backend that will be used for the eventual request.

extraoption​<borrow​<extra-lookup-options>>

Additional options may be added in the future via this resource type.