angular2-universal-starter icon indicating copy to clipboard operation
angular2-universal-starter copied to clipboard

Caching...

Open felipedrumond opened this issue 10 years ago • 1 comments

Hello there! I was trying to configure express to use cache, but with not success. As angular2-universal is renderized on server, I believe it is always processing, for instance, /Home before delivering it to the browser.

Is there any way to configure cache? I'm sure I can deliver the first page of my website to the browser in just few miliseconds.

felipedrumond avatar Apr 14 '16 01:04 felipedrumond

https://www.npmjs.com/package/express-redis-cache will do the trick for you.

acinader avatar Apr 22 '16 01:04 acinader