def add_cache_bypass(url):
 if (not cache_installed()):
  return url
 hash_str = u''
 if (u'#' in url):
  (url, hash_str) = url.split(u'#', 1)
  hash_str = (u'#' + hash_str)
 url += (u'?' if (u'?' not in url) else u'&')
 return (((url + u't=') + str(time()).replace(u'.', u'')) + hash_str)

def add_cache_bypass ( url ) : if ( not cache_installed ( ) ) : return url hash_str = u'' if ( u'#' in url ) : ( url , hash_str ) = url . split ( u'#' , 1 ) hash_str = ( u'#' + hash_str ) url += ( u'?' if ( u'?' not in url ) else u'&' ) return ( ( ( url + u't=' ) + str ( time ( ) ) . replace ( u'.' , u'' ) ) + hash_str )
adds the current time to the querystring of the url to force a cache reload .