The handler sees the decision of SkipExternalResources and WhitelistedResources for each dependency and can allow it, skip it or supply its content. Dependencies are read as local files only, so allowing a remote dependency does not load it; supply its content through Data instead. See IExternalResourceHandler for the rules.
The handler is copied with the options and kept for every document the operation loads from them. It is not serialized with the options.