Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intrinsic constraints of the service worker #2

Open
jjak0b opened this issue Mar 18, 2021 · 2 comments
Open

Intrinsic constraints of the service worker #2

jjak0b opened this issue Mar 18, 2021 · 2 comments
Labels
good first issue Good for newcomers

Comments

@jjak0b
Copy link
Owner

jjak0b commented Mar 18, 2021

Considerating #1
Requests on the main page can be intercepted from the service worker only if the main url location of the page hasn't been changed. For example the service worker can't intercept an absolute url like /about instead of a ./about triggered by an anchor <a> tag if the service worker scope is outside of / like /dist.

These details must be considerated if the express-service application paths ( or REST APIs ) matters or need refactoring

@jjak0b jjak0b added the good first issue Good for newcomers label Mar 18, 2021
@jjak0b
Copy link
Owner Author

jjak0b commented Mar 18, 2021

This should be considerated if path is important like the gh-pages path constraint

@jjak0b
Copy link
Owner Author

jjak0b commented Mar 18, 2021

Note: A way to avoid the gh-pages path constraint is by using the repo of the gihub user / organization like jjak0b.github.io so can be accesible through https://jjak0b.github.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant