• Resolved monoor

    (@monoor)


    When I activate esi, the admin bar options in “front” do not work! For example, Query Monitor extension options do not open at all.

    This is my esi settings page:

    Even if the option “Cache the built-in Admin Bar ESI block.” I activate or deactivate it, it doesn’t make a difference!

    The catch is that I have set the entire site to “no cache” for the admin role. And the problem may be because of this, as shown in the image:

    My question is how can I disable “esi” for the admin role altogether?
    Or solve this problem?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    this is known compatibility issue on ESI

    if you need to use query monitor , then please disable ESI, and enable it back if needed , after you have done with QM

    Thread Starter monoor

    (@monoor)

    There is no way to turn off ESI for the admin role?
    Filter or…?

    Plugin Support qtwrk

    (@qtwrk)

    unfortunately no

    there are 2 ways to manipulate some conf for our plugin , programatically

    one way is via wp-config.php , there is some constant can be defined for certain action , I can disable ESI here by define a certain constant, but at this stage, you can not detect user role because the wp is not initialized yet.

    another way is more traditional via theme functions.php or code snippet, there is some API can be used to manipulate the configuration , but at this stage, the ESI is already initialized which is too late already.

    Thread Starter monoor

    (@monoor)

    So we have to wait for LS C update. Is this a new known problem? Or has it been around for a long time and has not been addressed?

    To predict the time to fix the problem…

    Plugin Support qtwrk

    (@qtwrk)

    remove_action( 'wp_body_open', 'wp_admin_bar_render', 0 );

    please try this , to your functions.php , purge all and check how it goes

    Thread Starter monoor

    (@monoor)

    It worked and the test was successful, thank you
    Just a few questions:

    1- That this will not affect the performance of caching on users?

    2- Will the permanent update to fix this problem interfere with this code?

    3- Will the time for permanent update to fix this problem come soon or late?

    Plugin Support qtwrk

    (@qtwrk)

    1. I think it doesn’t impact that.
    2. I am not sure, I will forward the case to our dev and it’s up to them to evaluate and assess the case what should be done
    3. same as 2)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘esi problem for admin bar’ is closed to new replies.