Keep tracking the resources
Implemented caching