if(entry == null) {
WOResponse newResponse = application().createResponseInContext(context);
newResponse.setHeaders(response.headers());
newResponse.setUserInfo(response.userInfo());
super.appendToResponse(newResponse, context);
String content = newResponse.contentString();
entry = new Entry(content, cacheDuration(), (context.hasSession() ? context.session().sessionID() : null));
cache.put(values(), entry);
}
String content = entry.content(context);
response.appendContentString(content);