FOMO Daily
Feed
Laravelยท

Pause Polling in Background Tabs in Inertia.js v3.9

Frontend & WebInertia.jsPollingNavigation

TL;DR

Inertia.js v3.9 addresses unnecessary polling in hidden tabs and navigation bugs that could show stale or protected pages. It adds an option to pause background polling, identifies history restores so apps can refresh data, and clears prefetched pages when history is cleared. These changes, alongside fixes for back-button navigation and outdated infinite-scroll requests, reduce unnecessary requests and prevent old responses from disrupting the current page.

Read the original post Sign in to mark as read or skip