Archived topic
generatepress_sites table in autoload
8 replies · Started by roadlink on August 24, 2022
Hi there,
I read this article here and see that generatepress_sites table is autoload and consume some space.
https://wpjohnny.com/clean-up-wp_options-table-autoloaded-data/
How I can fix it?
Hi there,
Hmm is the site library module activated?
https://docs.generatepress.com/article/installing-gp-premium/#activate-your-modules
If so can you try deactivating it?
Actually did it already but still has it.
Can I change autoload from yes to no?
Will it break something?
Hi there,
We would have to make the change within the plugin.
This option is only loaded in the admin area, so it won't affect your site performance.
That being said, we can still set autoload to false here. We'll target it for GPP 2.2.0.
Thanks!
Thanks Tom, I will not make any changes for now and wait for update.
Are you still on for putting generatepress_sites autoload on 'no'?
Because it's the biggest entry in my wp_options table and not needed as a 'yes'.
Kinds regards and thanks in advance,
Jaime
Hi there,
in the latest version it is set to false:
update_option( 'generatepress_sites', $sites, false );
Gracias!
You're welcome