type property
NavigationTimingType
get
type
The type
read-only property returns the type of navigation.
You can use this property to categorize your navigation timing data as each of these types will have different performance characteristics. Users going back and forth might experience a faster site than users performing navigation for the first time or submitting forms, etc.
For example, if your site provides new content frequently, you might want
to refresh that content using
Fetch or
similar and avoid users having to hit reload for the entire page all the
time. The "reload"
type can help you find pages that are reloaded
frequently.
Implementation
external NavigationTimingType get type;