Invalidate API cache on course_metadata model changes
Invalidate API cache when any model in the course_metadata app is saved or deleted. Given how interconnected our data is and how infrequently our models change (data loading aside), this is a clean and simple way to ensure correctness of the API while providing closer-to-optimal cache TTLs. LEARNER-401
Showing
course_discovery/apps/api/cache.py
0 → 100644
Please
register
or
sign in
to comment