added caching option to controllers