an internal cache system && a security upgrade

to preventing unnecessary IO i added an internal cache `private static $_soft_cache = NULL;` and for security reasons [which we should ever encounter to this] i put general hash sum to cache file's content