• Resolved DamirCalusic

    (@webkreativ)


    Hi,

    Is it possible to use Redis Cache only for Admin and not on Frontend? I am using Fast-CGI cache on frontend and that works really great but the Admin is really slow.

    When I activate the plugin I get some WooCommerce attributes problems on Frontend because of multiple languages not being properly handled by the cache system. But the Admin works ok when the plugin is active.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Julie

    (@julieadrienne)

    You could hack that together, but we recommend against it, because if any front-end request fails to update the cache then the back-end might be out of sync. For example user session data, or order might not get updated.

    Thread Starter DamirCalusic

    (@webkreativ)

    Hi Julie,

    Thank you the answer. I understand your point.

    Is it possible for you to maybe give me some examples on how I could maybe test it out? Do you have any settings, filters or actions or anything that I could try out in the plugin?

    Or do I need to maybe modify anything on my NGINX / Ubuntu server and if so do you maybe have any examples of that aswell?

    Best regards.

    Plugin Support Julie

    (@julieadrienne)

    Redis Object Cache doesn’t provide anything out of the box to handle this, because it’s too risky.

    What you can try is setting the WP_REDIS_DISABLED constant based on whether you’re in the admin or not.

    That said, we can’t provide any support for custom installations like this.

    Thread Starter DamirCalusic

    (@webkreativ)

    Hi Julie,

    Ok, thanks. I will look into it further.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible to use Redis Cache in Admin only’ is closed to new replies.