← Graph

Canary Sub-resource

concept 3 connections

Measurement technique Pokrywka invented for SXG: include a specific sub-resource that is sometimes loaded and use JavaScript to detect whether it was fetched from the prefetch cache. Because SXG prefetching is all-or-nothing, the presence or absence of the canary reveals whether the full set of sub-resources was prefetched successfully, and analytics can tag page views accordingly. He plans a future 'poisonous' variant that always fails, to inject for A/B testing specific pages.

category
practice
about
Canary Sub-resource concept
Describes the canary approach for detecting successful prefetching.
about
Canary Sub-resource concept
Takeaway centers on using the canary-sub-resource technique.
concept Canary Sub-resource
related_to
Canary is designed to exploit SXG's all-or-nothing sub-resource rule.

Provenance

Read by
1 extraction