taking it offline – maayan glikser

Post on 21-Jan-2017

492 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

TAKING IT OFFLINE

Maayan Glikser

Maayan Glikser

- Github addict - Hardcore metal fan - Converted from dogs to cats

Frontend Developer @ 500Tech

WHY OFFLINE MATTERS

AppCache Sucks

http://alistapart.com/article/application-cache-is-a-douchebag

What is a Service Worker?

Service Worker

Cache

Network

LimitationsCannot access the DOM

No global state (unloads when not needed)

iFrames are separate documents (sandbox)

Directory Scope

Requires SSL

WHY DO I NEED SSL

Man In The Middle Attacks

Service Worker Life Cycle

Is Service Worker Ready?

https://jakearchibald.github.io/isserviceworkerready/

LIVE CODING

Cool Things You Can DoCustom error pages (no connection, server error)

Timeout 3rd party requests

CDN Failover

Stale While Revalidate

Resource Prioritization/Scheduling

The FuturePush

Background Sync

Geofencing

Read our blog:http://blog.500tech.com

Maayan Gliksermaayan@500tech.com

top related