stamford-syntax-club / course-compose

Course Compose is a course-review website tailored for Stamford students, providing a platform for sharing and discovering insights about various courses
MIT License
2 stars 0 forks source link

endpoint caching with redis #28

Closed chinathaip closed 9 months ago

chinathaip commented 10 months ago

Create a middleware that attempts to get cached data using URL path as key,

if data is found, simply return it if not, retrieve data from the source and cache it (expires after 1 week)