flickr caching to db is fully working