Server-Render and Server Cache

Hello there,

I stumbled across this article explaining how to setup the server cache on a node.js environment to speedup SSR (YEAH)

I believe it should be an option for server-render package. Even a default option (that could be de-activated) with the possibility to set the maximum cache duration.

What do you guys think in the community?

EDIT: The caveat:

The downside is if you have something that has to be dynamic. In the above route, we have passed the current date as an argument to the view engine. The cached response body will have this same date until the cache expires (10 seconds in this case).

So that is still acceptable for many use case
Ciao