Service worker and webmanifest‹ Back
Controller and views
Ornament generates a
service_worker_controller and a view for both the webmanifest and the service worker itself.
The webmanifest file will append staging and development flags at the start of the application names so that you can differentiate them when adding to homescreen.
To opt-out again later on, simply run this code:
Once opted-out, you will need to unregister your service workers, which can be done in Chrome under the "application" tab in the developer tools.
Disabling service workers
Service workers can be disabled entirely by opening up
application.js and disabling the require statement for the service worker code:
//= require ornament/register-service-worker