Angular Service Workers & Cows - A Love Story
Offered By: ng-conf via YouTube
Course Description
Overview
Explore the world of Angular Service Workers in this engaging 20-minute conference talk from ng-conf. Dive into the fundamentals of service workers, their functionality, and implementation in Angular applications. Learn how to install, enable, and register service workers, and understand the importance of running them in production mode. Discover the process of creating a configuration file, building the project, and running it in production mode. Examine the caching mechanisms provided by the default configuration and understand how code updates are handled. Gain insights into using a proxied server and conducting offline tests. Finally, delve into custom caching techniques, all while enjoying a unique narrative involving cows and puppies.
Syllabus
Intro
WHAT BE YOU, SERVICE WORKER?
WHAT DOES THE SERVICE WORKER DO?
Install that Service Worker, yo
Enable service worker
Import SW in root app module
Register SW in root app module
I ASKED STEPHEN FLUIN, WHY IT WOULD BE BAD TO RUN SERVICE WORKERS OUTSIDE OF PRODUCTION MODE?
Create the CONFIG file, ngsw-config.json
#6 Build the project
Run the project in production mode
The caching our default config is giving us!!
How do updates to me code work tho?
Rebuild & restart the server
Using a proxied server
and of course, the offline test
CACHING CUSTOM BITS
It's for the cow-puppies 3
Taught by
ng-conf
Related Courses
Offline Web ApplicationsGoogle via Udacity Intro to Progressive Web Apps
Google via Udacity Progressive Web Apps (PWA) - The Complete Guide
Udemy Complete Progressive Web App Bootcamp
Udemy Progressive Web Apps: The Big Picture
Pluralsight