/src/main/java/org/htmlunit/Cache.java
if ( !HeaderUtils.containsPrivate( response) ) {
if ( !HeaderUtils.containsPrivate ( response ) && HeaderUtils.containsSMaxage ( response ) ) {
boolean isStillFresh(final long now) { return Cache.isWithinCacheWindow(response_, now, createdAt_); } } static boolean isWithinCacheWindow(final WebResponse response, final long now, final long createdAt) { long freshnessLifetime = 0; <extra_id_0> freshnessLifetime = HeaderUtils.sMaxage(response); } else if (HeaderUtils.containsMaxAge(response)) { freshnessLifetime = HeaderUtils.maxAge(response); } else if (response.getResponseHeaderValue(HttpHeader.EXPIRES) != null) {