cache icon indicating copy to clipboard operation
cache copied to clipboard

does this support dynamic key for a route?

Open encryptblockr opened this issue 1 year ago • 0 comments

lets say we have an authenticated required api endpoint GET /userdata

that returns details about the authenticated user that calls it

user1 calls GET /userdata and wants response for user1 user2 calls GET /userdata and wants response for user2

does this middleware support the above?

how do we achieve this? because currently the cache just creates one single key for each route endpoint and that does not work and i would think others have the use-case i described above

encryptblockr avatar Apr 08 '24 14:04 encryptblockr