Preconnect to a URL. This can be used to improve performance by pre-resolving the DNS and establishing a TCP connection before the request is made.
This is a custom property that is not part of the Fetch API specification.
function
Preconnect to a URL. This can be used to improve performance by pre-resolving the DNS and establishing a TCP connection before the request is made.
This is a custom property that is not part of the Fetch API specification.
The URL to preconnect to
Options for the preconnect
The URL interface represents an object providing static methods used for creating object URLs.
The toString()
method on the URL
object returns the serialized URL. The value returned is equivalent to that of href and toJSON.