• Resolved Doug Rider

    (@riderworks)


    I’m debugging a slow Time to First Byte issue and saw that the “ws_menu_editor” row in the Options table is set to “autoload=yes”. Can this be set to “no”?

    The option_value field is 200KB in size. The only settings I have for the plugin (hiding Plugins, Setting, and CPTs for Editors) are used for the Admin dashboard.

    Thanks.
    Doug

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Can this be set to “no”?

    Yes, that can be done, but it could result in worse performance because the plugin will still try to load that option on every page.

    If you’re certain that the size of this row is the problem (have you done profiling to verify?), try this:

    1. Install the development version.
    2. In the menu editor, open the “Settings” tab and enable this option: “Compress menu configuration data that’s stored in the database”.
    3. Go back to the “Admin Menu” tab and click “Save Changes” (without changing anything).

    This should significantly reduce the size of the ws_menu_editor row. However, if the size of query results is not the real bottleneck, this could actually make the site slower due to decompression overhead.

    Thread Starter Doug Rider

    (@riderworks)

    The “Install the development version” link isn’t working.

    Plugin Author Janis Elsts

    (@whiteshadow)

    That’s odd, the link URL seems to have gone missing. Anyway, try this one:
    https://downloads.wp.xz.cn/plugin/admin-menu-editor.zip

    Thread Starter Doug Rider

    (@riderworks)

    Thanks. That reduced the file to almost 25% of the previous size.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ws_menu_editor in Options table’ is closed to new replies.