Create a response with only the status 304 and optional headers. This is useful when trying to implement conditional responses based on Etags.
Optional
export async function loader({ request }: Route.LoaderArgs) { return notModified();} Copy
export async function loader({ request }: Route.LoaderArgs) { return notModified();}
Create a response with only the status 304 and optional headers. This is useful when trying to implement conditional responses based on Etags.