https://github.com/eddie4k-code/redis_cache_demo
Demo of caching api responses with redis
https://github.com/eddie4k-code/redis_cache_demo
Last synced: about 1 year ago
JSON representation
Demo of caching api responses with redis
- Host: GitHub
- URL: https://github.com/eddie4k-code/redis_cache_demo
- Owner: Eddie4k-code
- Created: 2023-07-01T16:50:54.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-01T16:53:15.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T12:21:58.190Z (over 1 year ago)
- Language: JavaScript
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# redis_cache_demo
Demo of caching api responses with redis
Caching with redis
Caching is a very good way to optimize performance in the backend and can even lower costs due to less requests needing to be made to an API.
In this demo I use a dummy api to fetch a product, and then store that product in the redis cache for later use, this way when a request is made again regarding the same product it is pulled from the cache!