Hello @sanchitvarshney,
Thank you for reaching out to WooCommerce support forum.
UPDATE 'wp_options' SET option_value = 1701286503' WHERE "option_name" = '_transient_timeout_woocommerce_blocks_asset_api_script_data_ssl'
I understand the transient in WooCommerce is being set multiple times, which is causing the website to slow down.
The query you’ve mentioned is updating the option value of the ‘_transient_timeout_woocommerce_blocks_asset_api_script_data_ssl
‘ in the ‘wp_options
‘ table. This is likely related to the WooCommerce Blocks plugin, which provides block-based frontend content for your store.
One solution to prevent this from happening is to use a plugin that manages transients, such as Transients Manager. This plugin allows you to view, search, edit, and delete transients at will. It also provides a way to delete all expired transients.
Alternatively, you can add a filter in your functions.php file to change the expiration time of the transient. For example, you can set the transient to expire after one hour instead of constantly updating with every request. If you require more help with the actual coding, we’d recommend hiring a developer or one of the customization experts.
Should you need further assistance, don’t hesitate to get back to us.
Cheers.