Browser & Web Performance · Middle · Question 18 of 75

What does requestIdleCallback do?

Explanation

It's good for things like sending analytics or prefetching. Don't use it for work the user is waiting to see.

Further reading

Problem with a question

Browser & Web Performance · Middle · question 18

Test yourself

Take the Browser & Web Performance · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz