PreloadingAttemptKey

@Serializable
data class PreloadingAttemptKey(val loaderId: String, val action: Preload.SpeculationAction, val url: String, val targetHint: Preload.SpeculationTargetHint? = null)

A key that identifies a preloading attempt.

The url used is the url specified by the trigger (i.e. the initial URL), and not the final url that is navigated to. For example, prerendering allows same-origin main frame navigations during the attempt, but the attempt is still keyed with the initial URL.

Constructors

Link copied to clipboard
constructor(loaderId: String, action: Preload.SpeculationAction, url: String, targetHint: Preload.SpeculationTargetHint? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String