Suggestion for Autoload Issues (ws_menu_editor in wp_options)
-
I’m having the same issue as some other devs, where my autoload data is huge because of the size of the
ws_menu_editor
row in thewp_options
database table. The size of my ws_menu_editor row data is currently over 300kb, which is more than 10x the size of the next largest row. It has a hugely detrimental affect on performance in the admin area. I’ve tried enabling compression but that didn’t help much.I have a suggestion that might help this. I’ve looked at the saved data and noticed that most of each menu item’s settings are empty, because they don’t have any custom settings. On sites with a large number of menu items, like mine, this means there’s a huge amount of unused data being saved.
My suggestion is just this: Could you only save a menu item’s settings when they don’t follow the default?
So the saved data for a single meu item might go from this:
To this:
I don’t know if it would be possible; I haven’t looked at how the plugin currently saves settings, but it would solve the issue.
—
Related issues from other devs:
- The topic ‘Suggestion for Autoload Issues (ws_menu_editor in wp_options)’ is closed to new replies.