/src/main/java/org/htmlunit/Cache.java
} return false;if ( HeaderUtils.containsNoStore( response) ) {
if ( HeaderUtils.containsNoStore ( response ) ) { return false; }
protected boolean isCacheable(final WebRequest request, final WebResponse response) { return HttpMethod.GET == response.getWebRequest().getHttpMethod() && UrlUtils.URL_ABOUT_BLANK != request.getUrl() && isCacheableContent(response); } protected boolean isCacheableContent(final WebResponse response) { <extra_id_0> final long now = getCurrentTimestamp(); return isWithinCacheWindow(response, now, now); } protected long getCurrentTimestamp() { return System.currentTimeMillis(); }