An open API service indexing awesome lists of open source software.

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

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!