Skip Navigation

[Resolved] wpcf-fields LENGTH in wp_options

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by jaimeM-6 3 years, 12 months ago.

Assisted by: Minesh.

Author
Posts
#1883599

Hello,
I have this items and values in wp_options table:

option_name: wpcf-fields; LENGTH(option_value):176728
option_name: _transient_toolset_types_cache_sg_postmeta; LENGTH(option_value): 85473
option_name: toolset_config_cache; LENGTH(option_value):6821

All of them with the option autoload=yes.

Especially the first value, "fields" is extremely large and heavy to autoload, influencing this in response time.
So, do these options really need to have the value autoload = yes?
Thanks a lot

#1884833

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We do not have any way to disable the autoload for those options but after discussing with our Devs we will try to add a hook in near future using which you can tweak the autoloading of the options.

We already filed a ticket for this but for now you have to keep using as it is.

#1884971

Hello,
thanks for the answer.
So, this means that I can set the value autload = no and nothing will break?

#1884991

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

We did not checked yet by setting autoload to off as it could break anything on the site as a result.

If you want to try, you should try it on staging copy of your site where you should edit the database table wp_options and turn off the autoload to no manually and check if everything works as expected. If you see everything OK, then you should implement the same change on your production site.

Please make sure to take full backup of your database before you make any changes to your database.

#1885061

I see.
thanks for your help.
Best regards