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

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Use object cache instead of file cache

2 Posts
2 Users
0 Reactions
1,595 Views
Posts: 1
Topic starter
(@jacobschwartz)
New Member
Joined: 4 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: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 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: