OptionalcacheCache TTL in milliseconds. When set, results are cached in memory and returned from cache until the TTL expires.
Use this in server hooks or middleware where getRedirects() is called
on every request. Without caching, each request triggers a Sanity API call.
OptionalsourceFilter by redirect source: 'auto' (slug changes) or 'manual' (editor-created).
Options for getRedirects.