Could probably be handled in a per route middleware? Would be nice if it was just one place though, and being able to configure the duraiton may be nice too.
Ex. 5a31ce9#diff-8473faf3257851a1c3d1dd0336b88f37e16000919f05cba7aef19c8d2e34dcb4
(app.get("path", cache, (req,res)=>...)
Could probably be handled in a per route middleware? Would be nice if it was just one place though, and being able to configure the duraiton may be nice too.
Ex. 5a31ce9#diff-8473faf3257851a1c3d1dd0336b88f37e16000919f05cba7aef19c8d2e34dcb4
(
app.get("path", cache, (req,res)=>...)