Support » Plugin: Redis Object Cache » Exclusions

  • Resolved dciphered


    Hi Till,

    I know this topic’s been raised a few times however I don’t think it’s ever been answered properly.

    To get to the point, the LSCache plugin supports object cache control (including Redis of course) and one of their single-click options is to EXCLUDE wp-admin object caching.

    How does one achieve the same with your plugin? There’s a solid use-case for not wanting to cache wp-admin related queries and only reserve caching for front-end activity. Does your plugin support the ability to simply exclude backend (wp-admin) generated queries?

    Many thanks in advance as I know this will help many others out there.

    Looking forward to your reply.

    • This topic was modified 4 weeks ago by dciphered.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Till Krüss


    Object caching cannot be disabled for specific paths, such as /wp-admin.

    Adding /wp-admin to Excludes in Litespeed does not have any effect whatsoever.

    I’d recommend for you to learning about the difference of “page caching” and “object caching”.



    Hi Till,

    Thanks for your reply.

    So, instead of making comments about learning the differences between page and object caching (both of which I understand very well) I’d recommend that you take a closer look at Lscache’s implementation of their Object cache settings within their own plugin.

    Here’s a link, within you will find both information and a screenshot that has a specific setting to enable/disable object caching of the wp-admin area. It makes clear reference that by enabling object caching on wp-admin, you run the risk of serving expired data. Their plugin works brilliantly for object caching however is cumbersome for our requirements.

    Again, I ask, does your plugin have a similar capability?

    Plugin Author Till Krüss


    It does not and it won’t, because it’s a bad idea.

    May I add my 5 cents into this topic. I also read many other similar topics and it would be great if you could post an example usage of filter. Not really clear what to pass.

    I tried doing it this way, but it didn’t seem to work:
    or should I do it this way:

    You suggest requesting developer’s help in other topic, but really if it’s just a matter of proper writing of this single line of code, it would be great to see an example usage.


    • This reply was modified 3 weeks, 1 day ago by SamTyurenkov.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.