code: def config(name='CACHE_URL', default='locmem://'):
      
      config = {}
  
      s = env(name, default)
  
      if s:
          config = parse_cache_url(s)
  
      return config
docs: Returns configured CACHES dictionary from CACHE_URL