fix cache storage
useagent setter
add cacheable checker
add getter of all records
fix getting headder
add cache test