Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1408

Excessive option loading

$
0
0

Replies: 2

I’m trying to tune my page loading. I notice that on every page I load I get in

forminator_activated_addons
forminator_stripe_configuration

I think this is because these option are not (by default) defined in the options table, so are not autoloaded by wp_load_alloptions, and hence require separate database fetches to check for their existence.

On other pages, I also seeing individual loads for:

forminator_addon_campaignmonitor_settings
forminator_addon_webhook_settings
forminator_addon_slack_settings
forminator_addon_mailchimp_settings
forminator_addon_mailjet_settings
forminator_addon_aweber_settings
forminator_addon_googlesheet_settings
forminator_addon_activecampaign_settings
forminator_addon_hubspot_settings
forminator_addon_mailerlite_settings
forminator_addon_trello_settings

forminator_paypal_configuration
forminator_module_enable_load_ajax
forminator_module_use_donotcachepage
forminator_custom_upload

That a lot of unnecessary database calls.

Could all the addon options be combined as a single option holding an array. That option could be defaulted to an empty array with autoload=yes and a lot of database traffic removed.


Viewing all articles
Browse latest Browse all 1408

Trending Articles