Cache Django REST Framework HTTP Streaming Response?
Cache Django REST Framework HTTP Streaming Response? Question: I am trying to cache Django REST Framework HTTP streaming responses. My thinking is a Response sub-class can write the chunks into a temporary file as it streams, and on closing after streaming the final chunk, run a callable that copies the file into cache. from django.http …