• Hi Janis,

    Could you tell me where the plugin stores its settings? Is it wp_options? I’m wondering if there will be any additional queries hitting the database on page loads. I’m running Redis so if the settings are cached, perfomance shouldn’t be impacted.

    And are the settings stored as CSS?

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@whiteshadow)

    On a regular site, the settings are stored in the wp_options table, in an option named ws_vac_customizations. In Multisite the settings will be in the wp_sitemeta table instead, but the name/key will be the same. I think there may be an additional query since the option is not auto-loaded by default.

    And are the settings stored as CSS?

    No, the settings are stored in an internal JSON-based format.

    Thread Starter menathor

    (@menathor)

    Great, thanks! So I guess I can squeeze out a bit more performance if I set them to be auto-loaded?

    Also just curious how elements on pages are being hidden- is it via CSS or via removing DOM elements with js?

    Plugin Author Janis Elsts

    (@whiteshadow)

    Yes, I think that could improve the performance a little bit.

    The plugin uses CSS to hide elements. It only uses JS to change text. (Of course, the configuration screen uses a lot more JS, but regular users can’t access that.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Db location of settings’ is closed to new replies.