Added cache check in Response, updated tests and app for this.