     @renderPersonal()
 
     searchFunction = =>
+
+      # use cache for search result
+      if @searchResultCache[@term]
+        @renderResult( @searchResultCache[@term] )
+
       App.Ajax.request(
         id:    'search'
         type:  'GET'


  render: () ->

    user = App.Session.get()
    @html App.view('navigation')(
      user: user

      return if term is @term
      @term = term
      @$('.search').toggleClass('filled', !!@term)
      @delay( searchFunction, 200, 'search' )
    )

    # bind to empty search
