dblazeski / express-chrome-ssr

Server side rendering with puppeteer and reused headless chrome instance
MIT License
28 stars 10 forks source link

In-memory cache integration #7

Open cvipul opened 3 years ago

cvipul commented 3 years ago

Hey, Do we have any instructions on how we can integrate this prerendering with an in-memory cache? I am using this project but looking at some performance improvements.

dblazeski commented 3 years ago

Hi @cvipul

With the current approach the script is a bit more stable since I don't have to worry about memory leaks and monitoring. Haven't looked into in-memory cache sorry.