I'm hoping to find a solution to what this issue 
(https://github.com/encode/django-rest-framework/issues/5225) was brought 
up about. I can add vary_on_cookie decorator for web-based requests, but in 
a purely API or mobile app scenario, I would like to add a token to the 
authorization header and have the response be cached just for that user... 
otherwise obviously it would return the results in the cache, which could 
be someone else's data. Is a vary cache using TokenAuthentication possible?





-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/e6152ad0-6de1-491b-ad42-d29670edac92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to