The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Use object cache in...
 
Share:
Notifications
Clear all

Use object cache instead of file cache

2 Posts
2 Users
0 Reactions
1,175 Views
Posts: 1
Topic starter
(@jacobschwartz)
New Member
Joined: 3 years ago

Hi. Is there a way for me to switch this plugin's cache to the Wordpress object cache system, rather than the file storage cache that the plugin seems to use?

 

We have a load balanced environment where file storage cache isn't that fast and has consistency issues if files are overwritten rapidly, but object storage (using Redis via the Wordpress cache API) is lightning fast and super consistent. I've looked into the cache class WpdiscuzCache, but haven't found a graceful way to implement this change without hacking the plugin directly. I'd love any ideas from the plugin's engineers!

 

This is the reference for the built-in Wordpress cache API:

https://developer.wordpress.org/reference/classes/wp_object_cache/

Topic Tags
1 Reply
Asti
Posts: 7618
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi jacobschwartz,

You can simply disable the wpDiscuz cache system, so it'll work as you want. The option that allows you to disable the wpDiscuz cache is located in the Dashboard > wpDiscuz > Settings > General Settings tab. 

Reply
Share: