   saveSnapshot: ->
     @notifyApplicationBeforeSnapshotSave()
     snapshot = @view.saveSnapshot()
-    location = @lastRenderedVisit?.location ? @location
-    @cache.put(location, snapshot)
+    @cache.put(@lastRenderedLocation, snapshot)
 
   restoreSnapshotForLocationWithAction: (location, action) ->
     if snapshot = @cache.get(location)

    @adapter.pageInvalidated()

  viewRendered: ->
    @lastRenderedVisit = @currentVisit

  # History delegate


  # Event handlers

  pageLoaded: =>
    @lastRenderedLocation = @location
    @notifyApplicationAfterPageLoad()

  clickCaptured: =>
