The current state of detecting whether preloads are "referenced" only looks at whether or not they have active ResourceClients:
See: void Resource::willAddClientOrObserver
For some reasons (e.g. CSS), we might want to do pre-processing of a preload request before it is properly used. One example is preload scanning these preloads.
It would be nice to have a way to attach a ResourceClient to a preload without it affected any of the current logic for Preloads (i.e. anything touching Resource::PreloadResult).
Comment 1 by clamy@chromium.org
, May 11 2016Status: Assigned (was: Untriaged)