Conditional Cache Mixin for Django DRF
For a project I’m doing I’m looking at adding a conditional header to bypass cache when an X-No-Cache is present. In my case this allows external system to flush cache when certain conditions are met. I’ve modified code from Django Rest Framework Extension to allow for such behaviour. There might be a better way to […]