Skip to main content

phase_edge_cache_reach

Function phase_edge_cache_reach 

Source
pub fn phase_edge_cache_reach(
    groups: &BTreeMap<String, Vec<usize>>,
    parsed: &[ParsedFile],
    unit_tables: &HashMap<String, UnitTable>,
    errors: &mut ErrorSink,
)
Expand description

L7 (#2414, Decision D): an EdgeCache purge reaches the cache only from the Worker’s own fetch, so the instance is refused where anything else runs: an agent handler (a Durable Object, bynk.cloudflare.edge_cache_in_agent), a queue consumer (bynk.cloudflare.edge_cache_in_queue), an on schedule handler (bynk.cloudflare.edge_cache_in_schedule: deployed, its purge answers success and clears nothing), and an exported capability, which a consumer builds in its own Worker (bynk.cloudflare.edge_cache_exported). A handler reaches the instance through its own given, or through a local capability whose provider’s given does, at any depth.