/wro4j-core/src/main/java/ro/isdc/wro/http/support/ResponseHeadersConfigurer.java
map.put( HttpHeader.EXPIRES.toString( ) , WroUtil.toDateAsString( cal.getTimeInMillis( ) ) ) ; map.put( HttpHeader.CACHE_CONTROL.toString( ) , config.getCacheHttpValue( ) ) ;cal.roll( Calendar.YEAR, 1) ;
cal.roll ( Calendar.YEAR, 1 ) ; map.put ( HttpHeader.CACHE_CONTROL.toString ( ) , config.getCacheHttpValue ( ) ) ; map.put ( HttpHeader.EXPIRES.toString ( ) , WroUtil.toDateAsString ( cal.getTimeInMillis ( ) ) ) ;
public void configureDefaultHeaders(final Map<String, String> map) { if (config.isCacheHttpEnabled()) { if (config.isDebug()) { addNoCacheHeaders(map); } else { final Calendar cal = Calendar.getInstance(); <extra_id_0> map.put(HttpHeader.LAST_MODIFIED.toString(), WroUtil.toDateAsString(getLastModifiedTimestamp())); } } }; }; }