For large repeated queries whose results are not frequently changing, it's better to have them cached, than have them repeatedly evaluated. We can use node-cache , as a lightweight solution for caching.
REQUIREMENT
- Implement class FastCache in services , which will use node-cache internally and facilitate usage
Where to look
- src/services/ implement here
PS: Currenly admins are attending to the class design of it and reading up on doc. If anybody wants to pitch in can work on it. 😃
For large repeated queries whose results are not frequently changing, it's better to have them cached, than have them repeatedly evaluated. We can use node-cache , as a lightweight solution for caching.
REQUIREMENT
Where to look
PS: Currenly admins are attending to the class design of it and reading up on doc. If anybody wants to pitch in can work on it. 😃