Skip to content

Conversation

@jinidev
Copy link
Contributor

@jinidev jinidev commented Jan 16, 2026

This reverts commit 3387460.
and reapplies #13520

Resolves JIRA:

Summary

Reapply "WS-1837: Service worker changes to render offline page" - #13520

Additional Changes made to resolve build issue (https://eu-west-1.console.aws.amazon.com/codesuite/codepipeline/pipelines/simorgh-cd/executions/57690925-b8b5-43a8-bc26-361390db9259/visualization?region=eu-west-1)

Modified CopyWebpackPlugin , so that it copies public folder only for" modern " clients .
Replaced onfetch = fetchEventHandler with self.addEventListener('fetch', fetchEventHandler) in sw.js

For more context :https://bbc-tpg.slack.com/archives/G03T00R76KX/p1768813498850109

Copy link
Member

@elvinasv elvinasv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Retested again on Preview 1, works as expected 👍
Image

@jinidev jinidev merged commit e112bcd into latest Jan 20, 2026
13 checks passed
@jinidev jinidev deleted the ws-1837-reapply branch January 20, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants