Improve CachedResource initialization.
Pull request: https://github.com/WebKit/WebKit/pull/10024
<rdar://problem/105669171>
Committed 260538@main (629a795f8486): <https://commits.webkit.org/260538@main> Reviewed commits have been landed. Closing PR #10024 and removing active labels.