remove access token from URL
also store other response codes in the cache
compress data and store type