Using a decorator for caching purposes
In my previous post I gave some examples on how caching can evolve. However , what annoys me in the second and third approach is that I have some extra code and dependencies which are not really related to my class. The example details how you can use a decorator to cache another class.
Continue reading over at dzone...
