Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Documentation to state sw use HTTPS only #102

Closed
wants to merge 1 commit into from
Closed

Documentation to state sw use HTTPS only #102

wants to merge 1 commit into from

Conversation

dman777
Copy link

@dman777 dman777 commented May 13, 2016

Please see Documentation needs to state service workers will work only on https. #101 and Caching with platinum-sw-register #106

Description
Service workers only work on HTTPS. They will fail silently by default on HTTP. I say 'default' because without on-service-worker-error the error will not appear on dev console which is the usual convention. For example, Google map api will give getCurrentPosition() and watchPosition() are deprecated on insecure origins warning in console without any handler.

Solution:

pic2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants