     pingQueue = altMirrorLinks.map (url)->
       succ = ()->
         pingQueue.forEach (xhr)-> xhr && xhr.abort() # only choose the fastest mirror
+        freezeGA()
         track.redirect(currentMirror,url)
-        setTimeout (()-> chooseMirror(url)), 2000 # delay redirect to send GA track
+        setTimeout (()-> chooseMirror(url)), 1000 # delay redirect to send GA track
 
       fail = ()->
         track.fail(url)

markVisisted = ()->
  return LS.setItem("visited:"+location.href,'true')

getGA = () ->
  return window.ga ||
          () ->
            if _config.gaTrackingID != false
              console.info "Track:"+[].join.call(arguments,',')+"\nPlease set config.gaTrackingID to enable it."

# Send google analytics
track = {
  pageview: ()->
    getGA()('send', 'pageview')
  fail: (link)->
    getGA()('send', 'event', 'mirror', 'fail',misc.parseUrl(link)[1])
  redirect: (from,to)->
    getGA()('send', 'event', 'mirror', 'redirect',misc.parseUrl(from)[1] + ' > ' + misc.parseUrl(to)[1])
}


  showPage: ()->
    markVisisted()
    track.pageview()
    freezeGA()
    html = @rewriter.result()
    writeDocument = ()->
                      document.open()
                      document.write(html)
                      close = () -> document.close()
                      setTimeout(close,50)


    if document.readyState !='complete'
      window.onload = ()-> setTimeout writeDocument,50
    else
      setTimeout writeDocument,50

  _fetchPage:()->
    fail = ()=>
