Caching a post request.. correctly
Unanswered
Arinji posted this in #help-forum
ArinjiOP
Alright so i have this post route handler.. /addView which i wants to add a view once per day per unique user
So would i be able to cache it.. so that the backend gets only 1 request per day from a user?
It might lead to some issues with it being cached for everybody.. so i might get the user's ip.. and put that in an unstable cache as the cache key?
So would i be able to cache it.. so that the backend gets only 1 request per day from a user?
It might lead to some issues with it being cached for everybody.. so i might get the user's ip.. and put that in an unstable cache as the cache key?
1 Reply
ArinjiOP
Bump :)