[wp-trac] [WordPress Trac] #36995: Support for Service Workers

WordPress Trac noreply at wordpress.org
Tue Feb 13 14:14:23 UTC 2018


#36995: Support for Service Workers
-------------------------+-------------------------------------------------
 Reporter:  bhubbard     |       Owner:
     Type:  feature      |      Status:  new
  request                |   Milestone:  Future Release
 Priority:  normal       |     Version:  trunk
Component:  General      |  Resolution:
 Severity:  normal       |     Focuses:  javascript, administration,
 Keywords:  needs-patch  |  performance
-------------------------+-------------------------------------------------

Comment (by markjaquith):

 I like the idea of re-using `WP_Scripts`.

 My main question is whether we think this will be rolled out to enough
 browsers (e.g. Mobile Safari doesn't have it yet) to be worth using
 '''before''' some support for multiple service workers is build into
 browsers. If we think multiple service worker support is years away (or
 not even going to happen), then it's smart to get ahead of this.

 > could return a URL like `/wp-service-worker.js?scope=/wp-admin/`, with
 that path being registered via `WP_Rewrite`

 What about non-pretty permalinks?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36995#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list