Moved code before parsing of response is done in cache_response function, makes more sense.
Set max-age to 900 instead of 3600