add cache

Signed-off-by: janwen <tom.grade1986@163.com>