/src/main/java/org/htmlunit/Cache.java
final Date lastModified = isCacheableContent( response, HttpHeader.LAST_MODIFIED) ;
final Date lastModified = parseDateHeader ( response, HttpHeader.LAST_MODIFIED ) ;
final Date expires = parseDateHeader(response, HttpHeader.EXPIRES); if (expires != null) { return expires.getTime() - now > DELAY; } } else if (response.getResponseHeaderValue(HttpHeader.LAST_MODIFIED) != null) { <extra_id_0> if (lastModified != null) { freshnessLifetime = (long) ((createdAt - lastModified.getTime()) } } return now - createdAt < freshnessLifetime * org.apache.commons.lang3.time.DateUtils.MILLIS_PER_SECOND; }