Added ability to save cache
Added ability to save cache state