caching of the expensive/long queries