SolidJSS
SolidJS2y ago
24 replies
Katja (katywings)

Caching server-side render results

How can results of server-side renders be cached for consequential requests?

I assume this would need renderToStringAsync on the server, but SolidStart always renders with renderToStream, even in async mode 🤔. (https://github.com/solidjs/solid-start/blob/65c8ac0844ffac42947773e6d529e307ac687513/packages/start/src/server/handler.ts#L99)
GitHub
SolidStart, the Solid app framework. Contribute to solidjs/solid-start development by creating an account on GitHub.
solid-start/packages/start/src/server/handler.ts at 65c8ac0844ffac4...
Was this page helpful?