Skip to main content

MAX_SUBRESOURCES

Constant MAX_SUBRESOURCES 

Source
pub const MAX_SUBRESOURCES: usize = 64;
Expand description

How many references to take from one document.

A cap, because the scan happens before the page is answered: a document listing a thousand lazy-loaded images would otherwise spend the reader’s time fetching what they may never scroll to.