protected void configureCache(final WebRequest request, final WebResponse response,
final ResourceResponse data, final Attributes attributes)
{
Duration duration = data.getCacheDuration();
if(duration.compareTo(Duration.NONE) > 0)
{
response.enableCaching(duration, data.getCacheScope());
}
else
{