Fixed handling of cache option.
Merge pull request #1 from noahmedling/master

Fix handling of cache option.