CacheManager icon indicating copy to clipboard operation
CacheManager copied to clipboard

Caching method results via attributes

Open themakshter opened this issue 8 years ago • 3 comments

Would it be possible to have some CacheableAttribute or something similar to be able to add to methods which would allow caching of their results? This would also need attributes on clearing the cache too.

themakshter avatar Sep 27 '17 15:09 themakshter

That sounds a lot like what Spring offers in the Java world with its Caching abstraction: http://www.baeldung.com/spring-cache-tutorial https://spring.io/guides/gs/caching/

I'm very interested in this because I have a story on my current project backlog to implement basically Spring's capability in C#.

erizzo avatar Oct 12 '17 21:10 erizzo

I have currently no plans to implement/add something like that to CacheManager.

MichaCo avatar Oct 13 '17 08:10 MichaCo

Thank you letting me know!

themakshter avatar Oct 13 '17 14:10 themakshter