 xhr                     = null
 
 
-fetch = (url) ->
+fetch = (url, keepScroll = false) ->
   url = new ComponentUrl url
 
   rememberReferer()


  if transitionCacheEnabled and cachedPage = transitionCacheFor(url.absolute)
    fetchHistory cachedPage
    fetchReplacement url
  else
    fetchReplacement url, resetScrollPosition

  visit = (url) -> document.location.href = url

# Public API
#   Turbolinks.visit(url, keepScroll=false)
#   Turbolinks.pagesCached()
#   Turbolinks.pagesCached(20)
#   Turbolinks.enableTransitionCache()
