python from hermescache import cache cache.configure({ 'CACHE_TYPE': 'memory', }) @cache.cached() def crawl_data(url): data = crawl_data('http://example.com')