-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2280 from dfinity/dev-blog-service-worker
Dev Blog Post: Deprecation of the Service Worker
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: Deprecation of the Service Worker | ||
description: In September, DFINITY proposed to deprecate the Internet Computer Service Worker in favorite of ICX Proxy, a service hosted on the DFINITY Boundary Nodes. This proposal has been adopted, and as of December 7, 2023, the Service Worker has been deprecated. | ||
tags: [Technology] | ||
image: /img/blog/deprecating-the-service-worker.png | ||
--- | ||
|
||
# Deprecation of the Service Worker | ||
|
||
 | ||
|
||
In September, DFINITY proposed to deprecate the Internet Computer Service Worker in favorite of ICX Proxy, a service hosted on the DFINITY Boundary Nodes. This proposal has been adopted, and as of December 7, 2023, the Service Worker has been deprecated. | ||
|
||
Beginning December 7, 2023, the new version of boundary nodes which uses icx-proxy to verify HTTP responses on the boundary node itself has begun to gradually roll out. | ||
|
||
For more information on the reasons behind this change, check out the full proposal blog post [here](/blog/features/deprecating-the-service-worker). | ||
|
||
### Who is affected | ||
|
||
This update affects all dapps being served via a DFINITY gateway (*.ic0.app, *.icp0.io and hosted custom domains). Dapps being served from a custom gateway implementation will remain unchanged. | ||
|
||
### What to expect | ||
|
||
Most notably with this change, you will no longer see the service worker loading screen. Inspecting requests in your browser console will show regular HTTP calls for fetching HTTP assets instead of the encoded ones. | ||
|
||
An important note is that streamed resources that are larger than 8MB will not be verified through icx-proxy; they will be served as-is. This is because requests with larger responses are fairly infrequent and represented an almost insignificant percentage of total HTTP traffic according to our metrics. Verification for larger streamed responses will be addressed at a later stage. | ||
|
||
## Resources | ||
|
||
You can join the forum discussion on this topic [here](https://forum.dfinity.org/t/deprecating-the-service-worker/23401/6?u=raymondk), and you can read the full proposal on the Dev Blog [here](/blog/features/deprecating-the-service-worker). |