Update lib_cache.php

corrected improper identation in if blocks
Merge pull request #3 from shubhdev/master

Update lib_cache.php