Closed tevinjoseph closed 8 years ago
I have cached my Django views using Memcached. The caching works fine when requests come from a particular IP but it directly hit database when requests made from other IPs.
I'm currently using Django Rest Framework and for caching I use: http://chibisov.github.io/drf-extensions/docs/#caching
What I need is I want to cache API results regardless of the IP.
I have asked the question in stackoverflow: http://stackoverflow.com/questions/37269562/drf-caching-works-for-specific-ip-only
I have cached my Django views using Memcached. The caching works fine when requests come from a particular IP but it directly hit database when requests made from other IPs.
I'm currently using Django Rest Framework and for caching I use: http://chibisov.github.io/drf-extensions/docs/#caching
What I need is I want to cache API results regardless of the IP.
I have asked the question in stackoverflow: http://stackoverflow.com/questions/37269562/drf-caching-works-for-specific-ip-only