update cache

增加了一个缓存类
fix cache bug
fix bug
Merge pull request #5 from uxyheaven/master

pull