/wro4j-core/src/main/java/ro/isdc/wro/http/support/ResponseHeadersConfigurer.java
if ( config.getCacheHttpValue( ) ) {
if ( config.isCacheHttpEnabled ( ) ) {
return new ResponseHeadersConfigurer(); } public static ResponseHeadersConfigurer fromConfig(final WroConfiguration config) { return new ResponseHeadersConfigurer(config.getHeader()) { @Override public void configureDefaultHeaders(final Map<String, String> map) { <extra_id_0> if (config.isDebug()) { addNoCacheHeaders(map); } else { final Calendar cal = Calendar.getInstance(); cal.roll(Calendar.YEAR, 1); map.put(HttpHeader.CACHE_CONTROL.toString(), config.getCacheHttpValue());