-
Notifications
You must be signed in to change notification settings - Fork 20
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
Performance improvements #255
Comments
@evrpress which page was that on? |
I get this on every page, logged in or not. I temporary use Query Monitor which reports about 50 duplicate queries in my case which mostly look like this: SELECT meta_key AS key, meta_value AS value
FROM wp_postmeta
WHERE post_id = 444
AND ( meta_key LIKE "_link_roles|%" )
ORDER BY meta_key ASC or SELECT meta_key AS key, meta_value AS value
FROM wp_postmeta
WHERE post_id = 65
AND ( meta_key = "_link_visibility"
OR meta_key LIKE "_link_visibility|%" )
ORDER BY meta_key ASC called by I've noticed them because they are called twice. On a generic page (like this one) WP user manger does 164 SELECT queries, 153 only from the Let me know if you need anything else |
If you aren't using WPUM settings on menu items, you should be able to stop those queries with
|
This basically solved it. I need the functionality though so this is not an option in production. Maybe you can add a caching layer to this until you get #270. |
The loading of the backend and frontend pages should be as fast as possible.
The text was updated successfully, but these errors were encountered: