added possibility to disable caching