Interface RegexRewrite

Advanced. Rewrites the default cache key for a set of requests.

Hierarchy

  • RegexRewrite

Properties

Properties

destination?: string

Define a replacement pattern that sets a new default cache key.

source?: string

Identify the set of requests that will use a different default cache key by setting this option to a relative URL path that starts directly after the hostname. This setting supports regular expression syntax.

Generated using TypeDoc