verbb / cp-nav

Control Panel Nav is a Craft CMS plugin to help manage your Control Panel navigation.
MIT License
130 stars 11 forks source link

CP Nav Longer page load #132

Closed wmdhosting closed 1 month ago

wmdhosting commented 2 months ago

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

engram-design commented 2 months ago

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

wmdhosting commented 2 months ago

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

with Snag_79f465

WIthout Snag_7a1674

engram-design commented 2 months ago

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.

wmdhosting commented 2 months ago

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

engram-design commented 2 months ago

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.

wmdhosting commented 2 months ago

ok thx..