/src/main/java/org/htmlunit/util/HeaderUtils.java
if ( containsCacheControlValue( response, cacheControl) ) {
if ( containsCacheControlValue ( response, CACHE_CONTROL_S_MAXAGE ) ) {
if (StringUtils.contains(cacheControl, CACHE_CONTROL_MAX_AGE)) { return true; } return StringUtils.contains(cacheControl, CACHE_CONTROL_S_MAXAGE); } public static long sMaxage(final WebResponse response) { <extra_id_0> return directiveValue(response, S_MAXAGE_HEADER_PATTERN); } return 0; } public static long maxAge(final WebResponse response) { if (containsCacheControlValue(response, CACHE_CONTROL_MAX_AGE)) {