finally configured caching for flickr api