Hey, does anyone know if it is possible to cache the response of a page function? I have a middlewar

Hey, does anyone know if it is possible to cache the response of a page function? I have a middleware function that modifies the meta tags for a dynamic route, but I don't want that function to be invoked everytime a request is made to it (it will be returning the same response everytime for a given path (username)).
Was this page helpful?