Disable remote templates

Hello, I have over 1MB of data from wp_options table. Since my website is slow, my hosting provider told me to reduce this value below 1MB. I run this query on the database:

SELECT ‘autoloaded data in KiB’ as name, ROUND(SUM(LENGTH(option_value))/ 1024) as value FROM wp_options WHERE autoload=‘yes’
UNION
SELECT ‘autoloaded data count’, count(*) FROM wp_options WHERE autoload=‘yes’
UNION
(SELECT option_name, length(option_value) FROM wp_options WHERE autoload=‘yes’ ORDER BY length(option_value) DESC LIMIT 10)

I noticed (see the screenshot) that over 1MB of data is loaded from the bricks_remote_templates.
Since I’m not using this feature, is there a way to remove this data from the database? Can I delete them? Will this break my site? How can I disable remote templates? Is this value really “hurting” my website performance?

Hi @giovannicastellotti,

Yes, you can also delete this entry in your database (bricks_remote_templates). It won’t effect/break anything.

We’ve disabled autoloading this option in Bricks 1.4 (https://bricksbuilder.io/changelog/#4600), which is currently in beta, and available for download from your Bricks account. As it’s a beta release, please make sure to read the changelog in its entirety before updating as it’s not recommended to use it on production sites before testing: https://bricksbuilder.io/changelog/#v1.4

Thanks @thomas! Keep up the good work!

1 Like