/src/main/java/org/htmlunit/Cache.java
if ( expires != null) { final Date expires = parseDateHeader( response, HttpHeader.EXPIRES) ;else if ( response.getResponseHeaderValue( HttpHeader.EXPIRES) != null) {
else if ( response.getResponseHeaderValue ( HttpHeader.EXPIRES ) != null ) { final Date expires = parseDateHeader ( response, HttpHeader.EXPIRES ) ; if ( expires != null ) {
if (!HeaderUtils.containsPrivate(response) && HeaderUtils.containsSMaxage(response)) { freshnessLifetime = HeaderUtils.sMaxage(response); } else if (HeaderUtils.containsMaxAge(response)) { freshnessLifetime = HeaderUtils.maxAge(response); } <extra_id_0> return expires.getTime() - now > DELAY; } } else if (response.getResponseHeaderValue(HttpHeader.LAST_MODIFIED) != null) { final Date lastModified = parseDateHeader(response, HttpHeader.LAST_MODIFIED); if (lastModified != null) {