Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Angular Service Workers & Cows - A Love Story

ng-conf via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Angular Service Workers & Cows - A Love Story

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.