def cache.revalidate

emerging-ezhttp@0.21.0.0 · src/cache.bend:28

import emerging-ezhttp@0.21.0.0/src/cache.bend as Cache
import Base

28# set no-cache
29def cache.revalidate(c: Cc) -> Cc:
30  match c:
31    case Cc{no_store, no_cache, public, private, max_age, expires}:
32      Cc{no_store, True{}, public, private, max_age, expires}

Uses (2)

Used by (1)