Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Very big theme_mods_ with things that are not in use

Home / Forums / Membership Forums / Very big theme_mods_ with things that are not in use

This topic is: Needs Developer Feedback
[Needs Developer Feedback]
July 1, 2023 at 7:17 am

Hello.

I was looking for some performance issues and I found one thing with the help of this plugin

My Head Hook wp_head have long execute time. Clean WP instalation with Kadence theme had about 150ms, but my production environment site had about 600ms.

Then i searched the reason. I found that Kadence add very long inline css stiles in production environment site in compare with clean instalation.

This would be ok if I use all those settings, but i dont. For example. I have set maybe 3 social links, but in inline styles are every one that customization offer. In clean instalation there are no this settings in inline style in head.

I found settings, that was made for test, but now is not in use too.

Than i found theme_mods_kadence-child in database has option_value with almost 50000 characters. I see that it is the serialized multidimensional array. In comare with clean instalation it is big difference. There are stored many settings that i dont use now. Many array keys are without value.

Then I switched from Kadence child theme with customization settings to Kadence theme without custamization settings. My loading times was shorter. LAPS plugin show that wp_head is execute faster.

OK I know. Customizations. But I suspect there left many settings in theme_mods_ that are not in use now. Execute this useless setiings makes bigger load to the CPU and longer execute time.

Please. Is there a way how to clean theme_mods_ from settings, that are not in use. I think this is theme bug that should by fix.

Regards

Michal

  • The forum ‘Membership Forums’ is closed to new topics and replies.