Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set autoload to 'no' for mw_adminimize in wp_options table #167

Open
mslepko opened this issue Sep 6, 2024 · 0 comments
Open

Set autoload to 'no' for mw_adminimize in wp_options table #167

mslepko opened this issue Sep 6, 2024 · 0 comments

Comments

@mslepko
Copy link

mslepko commented Sep 6, 2024

Hello.

All options are stored in the database in wp_options table with the option_name 'mw_adminimize'. This option has autoload set to yes.

On one of the sites I manage that value is above 100KB.
`
SELECT option_name, SUM(LENGTH(option_value)) AS autoload_size FROM wp_options WHERE option_name='mw_adminimize';

mw_adminimize 135410
`

I think this data is not needed on all pages so I was wondering I can set autoload to 'no' manually in the database?

Can you see any problems with that approach?

Thanks
Michal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant