Site logo

Archived topic

unwanted queries in wp-options table

3 replies · Started by sg on June 30, 2019

Viewing posts 1–4 of 4

Hi, it seems there is unwanted query :

SELECT option_value FROM rs7_options WHERE option_name = 'generate_package_woocommerce' LIMIT 1
require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/gp-premium/gp-premium.php'), generatepress_is_module_active, get_option #6 (0.3 ms )

Not sure if there is more of this. what i can do to prevent this ?

Thanks.

Hi there,

That's checking to see whether the WooCommerce module is active.

Each module goes through a check like this, but get_option() calls are cached, and these are especially tiny requests that make nearly zero difference performance-wise.

Thank you for the update. yes, it was 0.3ms. I have not activated my cache yet, ill test it then.
i thought if it is safe to delete the table :)

It's necessary, but I wouldn't worry about it when it comes to performance :)

This archived topic is closed to new replies.