From the docs -
"DRF-extensions allows you to cache api responses with simple @cache_response decorator. There are two requirements for decorated method:
It should be method of class which is inherited from rest_framework.views.APIView
It should return rest_framework.response.Response instance."
Are there any plans to include caching for function based views in drf-extensions? Function based views are comparatively faster than CBV.So, I am using FBV and I want to cache their APIs and then invalidate when any relevant model is changed.
From the docs - "DRF-extensions allows you to cache api responses with simple @cache_response decorator. There are two requirements for decorated method: It should be method of class which is inherited from rest_framework.views.APIView It should return rest_framework.response.Response instance."
Are there any plans to include caching for function based views in drf-extensions? Function based views are comparatively faster than CBV.So, I am using FBV and I want to cache their APIs and then invalidate when any relevant model is changed.