 
     try
       kite = JSON.parse kite
+
     catch e
-      warn "parse failed", e
-      @unset query
-      kite = null
+      warn "[KiteCache] PARSE ERROR", e
+      return @unset query
+
+    if kite.cachedAt?
+
+      cachedAt = new Date kite.cachedAt
+      now      = new Date
+
+      # Add 24 hours on top of cached at date
+      cachedAt.setHours cachedAt.getHours() + 24
+
+      if cachedAt < now
+        warn "[KiteCache] CACHE FOUND BUT OUTDATED, REMOVING..."
+        return @unset queryString
+
+    else
+      warn "[KiteCache] CACHE FOUND BUT DOESNT HAVE TIMESTAMP, REMOVING..."
+      return @unset queryString
+
 
     return kite


    queryString = @generateQueryString query
    kite = proxifyTransport kite
    LocalStorage.setValue (signed queryString), (JSON.stringify kite)



      query = @generateQueryString query

    delete storage[signed query]
    return


  @cache = (query, kite) ->
