lesson 1 Flashcards
1
Q
What are the 2 fundamental techs in progressive web apps?
A
- Service workers
- Webapp manifest file
2
Q
What is a service worker?
A
- Js file that stays between the client and the server.
- The apps can work offline
- Apps load no matter the network connection thanks to cache.
- They dont depend on the browser being open in mobile. They still work.
3
Q
What web app manifest file?
A
- It controls how your app displays to the user in areas where they expect to see apps and how they can launch it.
- You can add your web app to the mobile home screen and it displays full screen
4
Q
What is a app shell?
A
- Is the part that dont change often, not the content or data.
- The minimum css, html and js to load a web app.
- It can operate in slow or no networks
- Cache it using a service worker
- instant loading
5
Q
Why use app shell?
A
- The web app loads much faster
6
Q
What goes in app shell?
A
- Some html
- Some css
- Some js
- Some images
- No data
7
Q
In progressive how to get data fast?
A
- Inject the initial data in the js file
8
Q
What is the cache object?
A
- It is a way of storage.
- It is asyncronos and fast.
- It is not compatible with many browsers so you need to feature detect
9
Q
What is indexedDB?
A
It is a way of storage.
- It is asyncronos and fast.
- Compatible
- Transacctional
- Some good alternatives are localforage and lovefield