fixes #38/added cache settings
Merge pull request #50 from agentlame/master

Fixes #38/added cache settings