Support » Plugin: Opening Hours » Slow Queries

  • I have been running some tests on my website and loaded the Query Monitor plugin to evaluate where the slowness was happening.

    The number one issue on just about every page, including the admin panel, is surprisingly Opening Hours.

    
    Query	
    UPDATE "wp_options"
    SET "option_value" = "2"
    WHERE "option_name" = "opening_hours_db_version"
    
    Caller	
    update_option()
    wp-includes/option.php:440
    OpeningHours\OpeningHours->maybeUpdate()
    wp-content/plugins/wp-opening-hours/classes/OpeningHours/OpeningHours.php:82
    do_action("wp_loaded")
    wp-includes/plugin.php:478
    
    Component	
    Plugin: wp-opening-hours	
    
    Rows	
    0	
    
    Time	 
    0.0562
    

    I guess my question is, I am only using this plugin on one page. Is there anyway to disable it from running unless I am on that page, or in the admin area of the plugin?

    • This topic was modified 8 months, 1 week ago by sus.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Slow Queries’ is closed to new replies.