• Resolved lucspe

    (@lucspe)


    Hi,

    Great plugin.

    However, I am having an issue on a site where there is WP-Rocket installed.

    When the option to enable cache also logged in users is enabled, View Admin As doesn’t work correctly.

    In such condition what happens is that if – as an example – I switch to Shop Manager role (or customer or any other role), the change doesn’t take effect.

    To trigger it, I then have to manually add “?reset-view” to the page and reload it again.

    Then to return to default, I first have to press the “reset to default” button and then again reload the page adding manually “?reset-view”.

    Any idea if there is a workaround for this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @lucspe

    I never encountered this issue before and am using WP Rocket myself on various sites.
    However, I never enable cache for logged-in users so am unsure how WP Rocket handles this part.

    I’ll have to make some time in my schedule to debug this issue and I’m sorry to say that this could take a while because of lack of time.
    I’ve created a GitHub issue: ttps://github.com/JoryHogeveen/view-admin-as/issues/126

    Any help you can provide in finding a solution is very welcome!
    For now, the only actual “solution” I can think of is to disable cache for logged in users. Or at least disable it for your own user.

    Cheers, Jory

    Thread Starter lucspe

    (@lucspe)

    Dear Jory,

    Thanks for the quick reply.

    I will then continue the discussion on the github issue you opened.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compatibility with WP-Rocket’ is closed to new replies.