This option determines which DOM elements are considered for preloading. selector is the HTML selector that we're
scanning for and attribute is the attribute on the element that contains the URL to preload.
You can add multiple selector/attribute combinations.
Defaults to [{ selector: 'a', attribute: 'href' }].
This option determines which DOM elements are considered for preloading.
selectoris the HTML selector that we're scanning for andattributeis the attribute on the element that contains the URL to preload.You can add multiple selector/attribute combinations.
Defaults to
[{ selector: 'a', attribute: 'href' }].