code: def configure_cache(app):
      
      log = logging.getLogger('ara.webapp.configure_cache')
      log.debug('Configuring cache')
  
      if not getattr(app, '_cache', None):
          app._cache = {}
docs: Sets up an attribute to cache data in the app context