Browser and Web APIs

Exercise: Progressive Web App

  1. Convert the newsreader web application into a progressive web app.
  2. For the offline functionality use the following caching strategy:
    • Get the static assets from the cache if possible, otherwise from the network (cache first).
    • Get the news from the network (and cache them) if the device is online, otherwise from the cache (network first).
    • Display placeholder news if the news of a country are not available.