You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are a full admin user, then every page load within the admin dashboard results in a remote call to Elasticsearch to fetch the mapping. This adds a significant amount of time to each page load.
Steps to Reproduce
Be a user with the Administrator role
Enable the plugin
Browse the admin
Suffer with longer page loads
Expected behavior
The mapping currently installed vs what is expected probably won't change often or ever until a plugin update is performed.
My suggestion is to rewrite notices routines so they happen on wp-cron rather than inline with page requests. Use transients to store the results of the checks and display noticed based on what the transient says. Cache this information and don't refresh it unless necessary.
The text was updated successfully, but these errors were encountered:
Describe the bug
If you are a full admin user, then every page load within the admin dashboard results in a remote call to Elasticsearch to fetch the mapping. This adds a significant amount of time to each page load.
Steps to Reproduce
Expected behavior
The mapping currently installed vs what is expected probably won't change often or ever until a plugin update is performed.
My suggestion is to rewrite notices routines so they happen on wp-cron rather than inline with page requests. Use transients to store the results of the checks and display noticed based on what the transient says. Cache this information and don't refresh it unless necessary.
The text was updated successfully, but these errors were encountered: