Browser & Web Performance · Middle · Question 45 of 75

Which strategy fits an API response that should be fresh but must also work offline?

Explanation

Users get current data online and the last known data offline. Stale-while-revalidate is the option when speed matters more than freshness.

Further reading

Problem with a question

Browser & Web Performance · Middle · question 45

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