-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 Slow with two or more users logged in #15351 #140
Comments
I have a feeling this might be related to project config and the YAML files being generated. I actually can't replicate this on a new site though (Craft 4.x or 5.x). Maybe to test the project config stuff, if you want to temporarily disable YAML file generation to see if that changes things on your end? In your <?php
return [
'components' => [
'projectConfig' => function() {
$config = craft\helpers\App::projectConfigConfig();
$config['writeYamlAutomatically'] = false;
return Craft::createObject($config);
},
],
]; (possibly related to craftcms/cms#14140) |
I tried the code you supplied, and it definitely has a positive impact! Almost as snappy as not having the plugin installed. |
Interesting and good to know. I've found that for medium to large sites the YAML files take a stupidly long time to generate, causing lag or straight up making the CP inaccessible. It's not specifically this issue, but it probably will help to track down what's happening. My issue with Craft on that in general still hasn't been resolved. So yeah, looks like CP Nav is re-generating the YAML files in some fashion. I'm struggling to reproduce this, but will keep at it. |
Describe the bug
Cross posting this issue craftcms/cms#15351 here, an issue I am seeing with CP Nav installed.
Basically when the plugin is installed, it causes a slow page load when non-admins access the site.
Worked with the P&T team to diagnose the issue as relating to CP Nav.
Steps to reproduce
Uninstalling CP Nav makes the issue go away.
Craft CMS version
Craft Pro 5.2.5 (Happens in 4.x as well)
Plugin version
8.3.9
Multi-site?
Yes
Additional context
No response
The text was updated successfully, but these errors were encountered: