Interactive demonstration of the experimental fetchLater() API
• Maximum quota per document: 640KiB
• Deferred requests are batched and sent when the tab closes
• Always handle QuotaExceededError in production
Schedule a request to be sent after a specific delay (30 seconds)
Create a request that will be sent when the page becomes hidden
Send current analytics data with a deferred request
Create a request that can be cancelled before sending
Update the payload of a deferred request before it's sent
Demonstrate fallback when fetchLater is not available