Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP Nav Longer page load #132

Closed
wmdhosting opened this issue Apr 18, 2024 · 6 comments
Closed

CP Nav Longer page load #132

wmdhosting opened this issue Apr 18, 2024 · 6 comments

Comments

@wmdhosting
Copy link

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
Copy link
Member

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
Copy link
Author

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

with
Snag_79f465

WIthout
Snag_7a1674

@engram-design
Copy link
Member

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
Copy link
Author

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

@engram-design
Copy link
Member

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
Copy link
Author

ok thx..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants