So I recently figured out that cache on a method/controller level doesn't work if you don't use CacheInterceptor on the controller level. I remember it working with just CacheTTL(milliseconds). Did something change or is it a intended behavior?
Here's a minimal repo with the issue: https://github.com/OSA413/nestjs-cache-problem (npm i && npm start)
If you comment out the @UseInterceptor(CacheInterceptor) in src\app.controller.ts file you'll see that the cache stops working.