cache depend on ndb