Refactor response caching out of the response class.
Add web caching logic to image dispatch().