• Resolved Bobosom

    (@bobosom)


    Over Query monitor i see 23 queries to database every page load. 23 queries to various wfcm options. Isn’t too much?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author robertabela

    (@robert681)

    Hello @bobosom

    Thank you for trying our plugin. I’ll have a chat with the developers and I’ll come back with an update shortly.

    Thread Starter Bobosom

    (@bobosom)

    Hello @robert681

    I still wait for your update.

    Nothing new? Some explanation?

    Thank you in advance.

    Plugin Author robertabela

    (@robert681)

    Hello @bobosom

    Sorry for the late reply on this one.

    The plugin saves 23 settings in the wp_options table. Therefore when using the plugin it retrieves these settings, and for each setting you need a query. For example a plugin like WooCommerce runs more than 150 database queries on a page load.

    This is pretty normal and it is not “too much” when it comes to plugin settings.

    There is another way how to save the settings; we can save them in one serialized entry and only make 1 database query on a page load. However, when settings are saved in a single serialized entry, you’ll need more resources to retrieve the settings string, unserialize it and parse them than running 23 database queries.

    I hope the above answers your question. Should you have any more questions please do not hesitate to ask.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘23 queries to database every page load’ is closed to new replies.