DEV Community

Discussion on: Node, Express - REST API Performance test With & without Redis cache

Collapse
 
aigoncharov profile image
Andrey Goncharov

Good idea to benchmark Redis as a cache for NodeJS! However, the results of this one might be a little off. As you can see, the second call returned 304 status, which means you hit a browser cache. That's why size is that small.

developer.mozilla.org/en-US/docs/W...

Collapse
 
c4r4x35 profile image
Srinivas Kandukuri

Good catch, i did't observe the response code, but while testing i was trying to hit same API in diff scenarios. I observed lot of time diff.