package com.drumonii.loltrollbuild.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.ShallowEtagHeaderFilter;

/**
 * Configuration for web mvc related beans.
 */
@Configuration
public class WebMvcConfig {

    @Bean
    public ShallowEtagHeaderFilter shallowEtagHeaderFilter() {
        return new ShallowEtagHeaderFilter();
    }

}

Add ShallowEtagHeaderFilter to go with CacheControl headers
Add ShallowEtagHeaderFilter to go with CacheControl headers
