7. • 3 Example PWAs
• What a PWA is
• How to Quickly Upgrade
• Service Worker Life Cycle
• Basic Service Worker Caching
• Advanced Service Worker Caching
• Web Performance Best Practices
• Tools to Help Create a PWA
• https://amzn.to/2A0DLU1
8. PWA Starter
Creates Core PWA Assets
• Web Manifest
• Complete Icon Set
• Add to Homescreen
• Starter Service Worker
• Resources
10. Alex Russel
Chrome
“These apps aren’t packaged &
deployed through stores, they’re just
websites that took the right vitamins.
They progressively become apps…”
11. WHAT IS A PWA?
• A Web Site
• Utilizes Modern Web
Features
• Delivers a Great, User-
Centric Experience
12. A Native App
A Single Page App
WHAT IS A PWA IS NOT
They Can Be, But Why?????
13. Secure – Uses HTTPS
Valid Web Manifest File
Registers a Service
Worker with a fetch Event
Handler
MINIMUM PWA REQUIREMENTS
14. 300 x 100 px
A PWA SHOULD
Be Mobile-First
Provide Offline Experience
Load Fast *
Engage User*
* Subjective, we can talk about this
15. Device Feature Access
Discoverable
Cheaper to Develop
Cheaper to Distribute
Cheaper to Market
Common Standards
100s Used Each Month
App Store Distribution
3rd Party Censorship
Frustrating to Install
Few are Used
Expensive to Develop
Fragmentation
Expensive to Market
300 x 50 px
PWA VS NATIVE
16. ADD TO HOMESCREEN
Allow Users to ‘install’ PWA
Mobile Homescreen icon
Desktop Start Menu, Desktop Icon
Signal Visitor Wants to Re-engage
With Brand
Great for Business Apps
Non-Standard Experience
17. JEREMY KEITH
I worry that the messaging around
“progressive web apps” is perhaps over-
fetishising the home screen. I don’t think
that’s the real battleground. The real
battleground is in people’s heads; how they
perceive the web and how they perceive
native.
https://adactio.com/journal/12015
18. WEB MANIFEST
Creating a manifest and linking it to your
page are straightforward processes
JSON Document
Control what the user sees when
launching from the home screen
Describes Your App
Progressive Enhancement. Ignored by
legacy browsers and only downloaded
when needed.
Reference in HEAD
29. self.addEventListener('fetch', function (event) {
//intercept fetch request (any request from the UI thread for a file or API) and return
from cache or get from server & cache it
event.respondWith(
caches.match(event.request).then(function (resp) {
return resp || fetchAsset(event);
})
);
});
33. SERVICE WORKER STRATEGIES
• Handle On-Demand
• Pre-Render & Cache
• Define Invalidation Rules
• Time to Live
• Max # of Items
Hinweis der Redaktion
Note:
To Change the Background Picture Follow the steps below
Mouse Right button click>Format Background>Select Picture or Texture File>Click “File” button>Browse and select the image from your computer>Click Insert
That’s it. You are Done !!!
Note:
To Change the Background Picture Follow the steps below
Mouse Right button click>Format Background>Select Picture or Texture File>Click “File” button>Browse and select the image from your computer>Click Insert
That’s it. You are Done !!!
Note:
To Change the Background Picture Follow the steps below
Mouse Right button click>Format Background>Select Picture or Texture File>Click “File” button>Browse and select the image from your computer>Click Insert
That’s it. You are Done !!!