The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Use object cache instead of file cache
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Nov 25, 2021 1:24 am
(@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/
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Nov 25, 2021 12:28 pm
(@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.