Skip to content

Commit

Permalink
Merge pull request #2280 from dfinity/dev-blog-service-worker
Browse files Browse the repository at this point in the history
Dev Blog Post: Deprecation of the Service Worker
  • Loading branch information
jessiemongeon1 authored Dec 12, 2023
2 parents 022ea56 + 8132250 commit 3ea20be
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions blog/features/deprecation-of-service-worker.md
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

![Deprecation of the Service Worker](/img/blog/deprecating-the-service-worker.png)

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).

0 comments on commit 3ea20be

Please sign in to comment.