Skip to main content

Module freshness

Module freshness 

Source
Expand description

Page freshness helpers used before reading browser-backed auth state.

Structs§

PageFreshness

Constants§

CHECK_TIMEOUT
DEFAULT_MAX_AGE
DEFAULT_MAX_AGE_STR
PAGE_FRESHNESS_EXPR
READY_POLL_INTERVAL
READY_STATE_EXPR
RELOAD_READY_TIMEOUT

Functions§

format_duration
Human form of a duration using the same units parse_max_age accepts (2h, 30m, 90s; mixed values fall back to seconds).
is_ready
parse_max_age
parse_page_freshness