Is your feature request related to a problem? Please describe.
Currently, my cache invalidates after 20 seconds, I would like the cache to instead, invalidate on a POST to promote use of
this resource
Describe the solution you'd like
Every post request will also invalidate the cache. Add feature flag to turn off Cache.
Describe alternatives you've considered
I was also thinking about update and post requests from other functions, for example, if a task were to be updated, from users/userID/tasks/{taskID} it should also invalidate the cache
Is your feature request related to a problem? Please describe. Currently, my cache invalidates after 20 seconds, I would like the cache to instead, invalidate on a POST to promote use of this resource
Describe the solution you'd like Every post request will also invalidate the cache. Add feature flag to turn off Cache.
Describe alternatives you've considered I was also thinking about update and post requests from other functions, for example, if a task were to be updated, from users/userID/tasks/{taskID} it should also invalidate the cache