Which of these are offline first
techniques?
-
Deliver the page's header and content from a cache on the device, then attempt to fetch updated content from the network.
-
Deliver the page's header from a cache, then attempt to fetch the content from the network.
-
Attempt to fetch the page from the network, and if that fails, show cached content.
-
Attempt to fetch the page from the network, if that fails, show an error page from a cache.
ANSWER
- Deliver the page's header and content from a cache on the device, then attempt to fetch updated content from the network.
- Deliver the page's header from a cache, then attempt to fetch the content from the network.
If we can get something on the screen without waiting for the network, that is `offline first`.