449450451452453454455456457458459
if (response instanceof WebResponse) { Duration duration = data.getCacheDuration(); WebResponse webResponse = (WebResponse)response; if (duration.compareTo(Duration.NONE) > 0) { webResponse.enableCaching(duration, data.getCacheScope()); } else {