docker-compose.yml
1.53 KB
-
Use drf-extensions to cache ProgramViewSet responses · 9b63f0d1
drf-extensions provides a variety of tools we can use to implement response caching. This change is a proof of concept, adding caching with a short 1 minute TTL for the ProgramViewSet's list and retrieve actions. Error responses are not cached. This will provide some protection against significant increases in throughput. We can build on this later to add a longer TTL and invalidation on model changes. LEARNER-401
Renzo Lucioni committed