Response helpers
Edit this pageRedirect
Signature: redirect(path, options)
Redirects to the next route.
Reload
Signature: reload(options)
Reloads the data at the given cache key on the current route.
Json
Signature: json(data, options)
Returns JSON data from an action while also providing options for controlling revalidation of cache data on the route.