parameters: (self, url, suffix='')
return_statement: return key + suffix
docstring: Generates a key to store the cache under
  
          :param url:
              The URL being cached
  
          :param suffix:
              A string to append to the key
  
          :return:
              A string key for the URL
docstring_summary: Generates a key to store the cache under
docstring_tokens: Generates a key to store the cache under
function: def generate_key(self, url, suffix=''):
          """
          Generates a key to store the cache under
  
          :param url:
              The URL being cached
  
          :param suffix:
              A string to append to the key
  
          :return:
              A string key for the URL
          """
  
          if sys.version_info >= (3,) or isinstance(url, unicode):
              url = url.encode('utf-8')
  
          key = hashlib.md5(url).hexdigest()
          return key + suffix
function_tokens: def generate_key ( self , url , suffix = '' ) : if sys . version_info >= ( 3 , ) or isinstance ( url , unicode ) : url = url . encode ( 'utf-8' ) key = hashlib . md5 ( url ) . hexdigest ( ) return key + suffix