autoloaded options woodmart is too high
-
Hello
I ran into a problem (see photo)
then after executing the query in wp_options I find that the autoload of your theme is too high, can I somehow fix this?
I don’t think it should be like this, or am I wrong?
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 30)
Attachments:
You must be
logged in to view attached files.
Hello,
Autoload may affect performance when you always load unnecessary options on all pages. Most of our options are not autoloaded except those that you showed on the screenshot. If we disable them from autoloading they will be loaded anyway with additional SQL queries.
Kind Regards
ok, I realized that this is impossible to do. Then please tell me, I see several css files with different numbers (please look again at the photo above) are all these 4 files necessary?
I mean, there are numbers 3 css date, 1 css date, 7 css date, 6 css date.?
They are related to Theme Settings presets. One Theme Settings preset has one CSS file.
Kind Regards
I deleted all presets but these files were not deleted. I still see them.
do I need to remove them? And how to understand which ones?
You can delete these records from the database https://gyazo.com/42179a2de066eb3558db4762e2da4e3e
But don’t forget to make a backup before doing this.
Kind Regards