// to pick the appropriate layout.
if (StringUtils.hasLength(getContext().getControllerName())) {
Object controller = lookupController(getContext().getControllerClass());
request.setAttribute(GrailsApplicationAttributes.CONTROLLER, controller);
}
timer.stop(true);
response.addHeader(X_CACHED, String.valueOf(true));
return pageInfo;
}
protected abstract int getTimeToLive(ValueWrapper element);