Exclude Plugins from caching


#1

Hello all!

I have a site that is running Redis and its doing great for the amount of traffic its seeing. I am using a plugin called using this plugin - Business Hours Indicator The issue is that I cannot seem to exclude it from being cached. I am getting several reports that its not showing the time correctly.

It should be noted that I am using a shortcode in the header of the site and I am using Redis too.


#2

@ganzuelo ,

I’m pretty new to redis too but I think you can solve your problem with changing your $no_redis_groups array property wich it’s defined in ~/wp-content/ object-cache.php

Just enter the redis and find your plugin keys then add them to $no_redis_groups property and flush the redis.

If you don’t want to check the redis for keys you may read the code too.

Hope it helps.

Best regards.


#3

@emrerep thanks for the info! Where do I find that plugin’s keys?


#4