Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
News
Announcements
Service Worker files can now operate at full capacity
Photo of the author
PedroAntunesCosta
Published on 3/15/2018
Last update on 12/31/2019

Service Worker files now can intercept requests from all parts of your store. While this script had limited permissions in the past, we now included the Service-Worker-Allowed header along with the value /, so it can perform in all it's potential. This means that your website now has all the necessary resources to implement periodic syncing, push notifications and even offline mode.

The upgrade in the Service Worker permissions broadens the possibilities for your store, like turning it into a PWA (Progressive Web App). This solution allows users to access a certain website like they would do in a smartphone app, but without the inconvenience of having to download it. The only requirement is saving the website in the home screen. And you don't even have to be connected to the internet to browse through it's content.

Warning:

VTEX's platform doesn't have a feature to turn your store into a PWA. It only offers the conditions to enable the implementation.

Read this VTEX Help article to learn how to install a Service Worker file in your store.

Was this helpful?
Yes
No
Suggest Edits (GitHub)
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback