CSE134B web + service workers

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

regular dom

Shadow host: the ____ node that the shawdow dom is attache to

2
New cards

end, begin

Shadwo Boundary: the place where the shadow DOM __, and the regular DOM _

3
New cards

light

__ DOM: the dom that lives outside the shadow dom

4
New cards

raw


__ web components win the performance battle

5
New cards
6
New cards

an app

Donā€™t make those mistakes, make everything ___ . Some thing are just content really

7
New cards

dynamic

Donā€™t make those mistakes, make everything ___ . if sth static just keep it

8
New cards

reinvent the wheel

Donā€™t make those mistakes, ___ . u get lots of things free with html, css, js use them

9
New cards

forget the past

Donā€™t make those mistakes, ___ .many old ways work and are often better

10
New cards

Accelerated mobile page

what is AMP

11
New cards

very restrictive

why is AMP bad

12
New cards

<!-- Link an external CSS file -->

<link rel="stylesheet" href="styles.css">

<!-- Define a favicon -->

<link rel="icon" href="favicon.ico" type="image/x-icon">

<!-- Preload a font -->

<link rel="preload" href="font.woff2" as="font" type="font/woff2" crossorigin="anonymous">

<!-- Specify a canonical URL -->

<link rel="canonical" href="https://example.com/page">

what is rel in link for and what types of rel value we got

13
New cards

ads and analytics,

dynamic content,

layout,

media,

presentation,

soscial

what are the 6 primary catergories of amp tags

14
New cards

response, animation, idle, load

what is RAIL

15
New cards

response < 100 ms, animation at 60 fps, idel work load 0-50ms, load<1000ms

performance of rail?

16
New cards

A Service Worker is a background script that runs separately from a webpage and enables powerful features like offline caching, background sync, and push notifications. It acts as a proxy between the browser and the network, allowing for faster loading and offline functionality.

what is service worker?