fixed a bug on the cache

It was rebuilding the cache on every request because it wasn't storing
the last updated time on the cache metadata.
Merge pull request #11 from sdecima/master

Bug on the cache logic