lesson 1 Flashcards

1
Q

What are the 2 fundamental techs in progressive web apps?

A
  • Service workers

- Webapp manifest file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why use app shell?

A
  • The web app loads much faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What goes in app shell?

A
  • Some html
  • Some css
  • Some js
  • Some images
  • No data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In progressive how to get data fast?

A
  • Inject the initial data in the js file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly