<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Avoid evicting link preload resources when parsing is done."
href="https://bugs.webkit.org/show_bug.cgi?id=167415#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Avoid evicting link preload resources when parsing is done."
href="https://bugs.webkit.org/show_bug.cgi?id=167415">bug 167415</a>
from <span class="vcard"><a class="email" href="mailto:youennf@gmail.com" title="youenn fablet <youennf@gmail.com>"> <span class="fn">youenn fablet</span></a>
</span></b>
<pre>The handling of preloads is a bit complex and it would be good if we could simplify it.
Can we try to align preloads with other loaded resources?
Here are some thoughts below.
Maybe m_preloads could store CachedResourceHandle.
AFAIUI, body link preloads have a loader so they will not be cancelled when the parsing is done. Maybe we should have a way for header link preloads to behave the same.
When we would clean m_preloads at the end of parsing, only the speculative preloads without any other attached loader would actually be cancelled.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>