Bug: Firefox crash if caching disabled

If pageCacheSize is set to 0, Firefox chokes when looking up into the undefined `cache` object.
Also cleaned up debugging message that would fail if cache lookup failed.
Merge pull request #39 from jbellsey/master

Bug: Firefox crash if caching disabled