add cache
Merge pull request #4 from rei-m/h/cache

add cache