I ASKED STEPHEN FLUIN, WHY IT WOULD BE BAD TO RUN SERVICE WORKERS OUTSIDE OF PRODUCTION MODE?
9
Create the CONFIG file, ngsw-config.json
10
#6 Build the project
11
Run the project in production mode
12
The caching our default config is giving us!!
13
How do updates to me code work tho?
14
Rebuild & restart the server
15
Using a proxied server
16
and of course, the offline test
17
CACHING CUSTOM BITS
18
It's for the cow-puppies 3
Description:
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.