Re:Show HN: Speed up your site by running JavaScript when th...
by ovao on Thursday November 24, 2022 @11:18AM
(#33733035)
The requestIdleCallback API isn’t specific to inactive tabs, and trying to use it to do background work in general is not a Good Idea: the first idle callback is typically going to fire (almost) immediately after painting’s complete, or some handful of milliseconds after.
[ Parent
| on HN ]
There are no comments on this comment yet.