apigee-127/swagger-tools

Cache management ? example ?

dlarr opened this issue · 0 comments

dlarr commented

Hello,

I've read the doc : https://github.com/apigee-127/swagger-tools/blob/master/docs/Middleware.md#swagger-metadata

Apparently it's possible to manage some cache. But I need to be able to choose which URL to cache and for how long. Simple things can be done like https://medium.com/the-node-js-collection/simple-server-side-cache-for-express-js-with-node-js-45ff296ca0f0

But I can't figure how to achieve this simple cache management in the frame of swagger-tools. If anyone already achieve something like that, thank for sharing ! :)

Regards