Optimize the plugin install check
-
Hi there,
Here are the details of the system.
1. Version of the plugin.
– 1.10.4
2. Your browser and operating system.
– Chrome and LinuxWe are using the WP Mail Logging plugin. Currently, we are trying to improve the performance of our site. We used the Query Monitor plugin and found that the WP Mail Logging plugin is executing the query SHOW TABLES LIKE “wp_wpml_mails” in the file plugins/wp-mail-logging/src/WPML_InstallIndicator.php at line 48 each time the site loads. We found that the plugin is using the caching code wp_cache_get if the plugin is installed. If the plugin is not installed, it runs the query.
Why doesn’t the WP Mail Logging cache the data if the plugin is not installed? Can you take a look into it and try not to execute the query each time? Also, if you can increase the cache expiration time, it would be good.
Waiting for your reply.
- The topic ‘Optimize the plugin install check’ is closed to new replies.