pwa-bundle icon indicating copy to clipboard operation
pwa-bundle copied to clipboard

Significant initialization time

Open webspin opened this issue 9 months ago • 4 comments
trafficstars

Version(s) affected

1.2.5

Description

I noticed my page initialization times going from less than 1000ms to over 6000ms with pwa-bundle. Removing the bundle brings the times down again. Even when the bundle was disabled I had higher initialization times.

Very similar to this issue: https://github.com/Spomky-Labs/pwa-bundle/issues/213

See both screenshots: this is for the same page with and without the bundle

Image Image

How to reproduce

Look at the debug toolbar performance tab before and after installing pwa-bundle.

Possible Solution

No response

Additional Context

No response

webspin avatar Feb 13 '25 16:02 webspin

Also, when i blanco install the package without any config, all of my pages keep reloading. I have to disable workbox to stop that.

webspin avatar Feb 13 '25 16:02 webspin

Hi @webspin,

I do not see any reason for this bundle for being slow since 1.2.1 when navigating on pages. Both screenshots show AccountingSubscriber or LocaleSubscriber are taking too much time. Can you share the bundle configuration file, copy the html head section, the manifest and the service worker files ?

Spomky avatar Feb 17 '25 04:02 Spomky

Also, when i blanco install the package without any config, all of my pages keep reloading. I have to disable workbox to stop that.

Could you install this extension and send a report? This will help to debug this issue.

Thank you.

Spomky avatar Feb 17 '25 04:02 Spomky

Any update?

I cannot reproduce this issue. The demo application is loaded in ~250ms in dev mode.

Can you share more information about it?

Thank you.

Image

Spomky avatar Mar 23 '25 13:03 Spomky

Closing as no activity

Spomky avatar Jul 22 '25 17:07 Spomky

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Aug 23 '25 01:08 github-actions[bot]