cp-nav icon indicating copy to clipboard operation
cp-nav copied to clipboard

CP Nav Longer page load

Open wmdhosting opened this issue 1 year ago • 6 comments

Describe the bug

Im testing Craft 5 commerce and other things

And use simple example to show whats happenign on all site settings pages..

When i add Order Status in commerce , that takes less than 1 sec normally >> i tested on few servers..

When i test with CP Nav enabled i get this..

Snag_373ea3

When i disable CP Nav >> times is 2 times less

Snag_384e2f

I disabled all other plugins but stay like this..

I know its not just CP Nav related Any pointers how to debug this waiting for server to respond I tryed to make all settings same as on servers where it opens under 1s . but still same And site is run on Dedicated server without resource limit..

Steps to reproduce

  1. Instll CP nav. here is example with adding Commerce >> Order status .. but work similar everywhere..

Craft CMS version

5.0.4

Plugin version

5.0.0-beta.2

Multi-site?

No response

Additional context

No response

wmdhosting avatar Apr 18 '24 04:04 wmdhosting

Fixed for the next release. To get this early run composer require verbb/cp-nav:"dev-craft-5 as 5.0.0-beta.2"

engram-design avatar Apr 18 '24 05:04 engram-design

hm.. tested few times. now seem takes even more time..

with Snag_79f465

WIthout Snag_7a1674

wmdhosting avatar Apr 18 '24 05:04 wmdhosting

Just to be clear, this is when saving order statuses for Commerce? I’m sure it happens at other times, but just ensuring that I’m relocating things reliably.

engram-design avatar Apr 18 '24 09:04 engram-design

Yes, creating new order statuses for Commerce I taken that as example as it simple page.. admin/commerce/settings/orderstatuses

wmdhosting avatar Apr 18 '24 09:04 wmdhosting

Not seeing any difference on my end I'm afraid. My latest fix brought down the time (locally) from 11s to 4.5s, and that's the same whether the plugin is disabled or not.

engram-design avatar Apr 18 '24 11:04 engram-design

ok thx..

wmdhosting avatar Apr 18 '24 11:04 wmdhosting