/src/main/java/org/htmlunit/util/HeaderUtils.java
if ( containsCacheControlValue( response, CACHE_CONTROL_S_MAXAGE) ) { return containsCacheControlValue( response, CACHE_CONTROL_MAX_AGE) ; }
return containsCacheControlValue ( response, CACHE_CONTROL_MAX_AGE ) ;
return response.getResponseHeaderValue(HttpHeader.LAST_MODIFIED) != null; } public static boolean containsSMaxage(final WebResponse response) { return containsCacheControlValue(response, CACHE_CONTROL_S_MAXAGE); } public static boolean containsMaxAge(final WebResponse response) { <extra_id_0> } public static boolean containsMaxAgeOrSMaxage(final WebResponse response) { final String cacheControl = response.getResponseHeaderValue(HttpHeader.CACHE_CONTROL); if (StringUtils.contains(cacheControl, CACHE_CONTROL_MAX_AGE)) { return true; }