[Resolved] unwanted queries in wp-options table

Home Forums Support unwanted queries in wp-options table

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #945701
    sg

    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.

    #946218
    Tom
    Lead Developer
    Lead Developer

    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.

    #946520
    sg

    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 🙂

    #946591
    Tom
    Lead Developer
    Lead Developer

    It’s necessary, but I wouldn’t worry about it when it comes to performance 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.