You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this plugin. Having the ability to register service workers within Wordpress is sorely needed and I'm very thankful that this plugin helps us with that.
I've recently noticed that some of our admin pages do not load when this plugin is activated. Instead, the browser is served the current page.
I'm not totally sure what's happening. The URL sometimes changes to the new, expected URL. Other times the browser refreshes as if the new page is about to load but the existing page is returned instead with the original URL.
All of this is a little vague but I'm hoping that someone might have seen similar behaviour before and knows what the issue might be.
If I check the "Bypass for network" checkbox in Chrome Dev tools, everything goes back to working correctly. Similarly if I disable the PWA plugin, everything works as expected again.
Our use case for the PWA plugin is to load a custom service worker. At the moment, the plugin that creates that service worker is also disabled, so shouldn't be having any impact on this issue.
Thank you for any help and I hope I've got the right place for support. If this needs to be a StackOverflow question please let me know.
Again, thank you for all the work going into this plugin.
Here's a gif demonstrating what happens when I'm on the Dashboard and I click the Plugins menu item. The page refreshes but the Dashboard is displayed again instead of the Plugins page.
Update
If I hit the plugins url directly, I'm redirected back to wp-admin/index.php.
Update 2
It only seems to be doing this with the PWA plugin activated and Chrome Dev tools open. Closing the Dev Tools, or disabling the PWA plugin resolves the issue.
The text was updated successfully, but these errors were encountered:
I wonder if it is due to the service worker having variable content in it, causing it to reload continuously. Does the page just continue to reload even without navigating anywhere? If so, it may be related to this issue: #183. Can you repeatedly request the admin service worker script URL and check to see if it is changing with each request?
I've narrowed the issue down to having "Update on reload" enabled for the service worker in Chrome Dev Tools.
Re-loading the admin script seems to return the same result for me (I ran it through a diffing tool a few times and no differences were found). I haven't seen any issue with the page reloading without navigating.
Hi there,
Thank you for this plugin. Having the ability to register service workers within Wordpress is sorely needed and I'm very thankful that this plugin helps us with that.
I've recently noticed that some of our admin pages do not load when this plugin is activated. Instead, the browser is served the current page.
I'm not totally sure what's happening. The URL sometimes changes to the new, expected URL. Other times the browser refreshes as if the new page is about to load but the existing page is returned instead with the original URL.
All of this is a little vague but I'm hoping that someone might have seen similar behaviour before and knows what the issue might be.
If I check the "Bypass for network" checkbox in Chrome Dev tools, everything goes back to working correctly. Similarly if I disable the PWA plugin, everything works as expected again.
Our use case for the PWA plugin is to load a custom service worker. At the moment, the plugin that creates that service worker is also disabled, so shouldn't be having any impact on this issue.
Thank you for any help and I hope I've got the right place for support. If this needs to be a StackOverflow question please let me know.
Again, thank you for all the work going into this plugin.
Wordpress Version: 5.2.2
PWA Plugin Version: 0.3.0
Here's a gif demonstrating what happens when I'm on the Dashboard and I click the Plugins menu item. The page refreshes but the Dashboard is displayed again instead of the Plugins page.
Update
If I hit the plugins url directly, I'm redirected back to
wp-admin/index.php
.Update 2
It only seems to be doing this with the PWA plugin activated and Chrome Dev tools open. Closing the Dev Tools, or disabling the PWA plugin resolves the issue.
The text was updated successfully, but these errors were encountered: