introduce cache
Merge pull request #156 from benitoro/master

introduce cache