DB Queries Caching
-
I’m planning to cache slow SQL queries since, as I can see, the Redis Object Cache plugin doesn’t cache all of them.
I want to do it not only for a specific plugin but for any slow DB query in general.
I found a related topic where it was pointed out that I would need to write my own logic using the WP Cache functions: https://ww.wp.xz.cn/support/topic/db-query-not-being-cached/
However, as I understand, WordPress will try to use the file from the wp-content/ folder for its caching mechanism (object-cache.php in this case).
—
I would like to know if there is a way for me to keep using the object-cache.php file provided by the plugin and somehow expand the logic of the plugin (in a new file for example)?P.S. Sorry if what I wrote above doesn’t make any sense. I just couldn’t find any related topics.
Thanks in advance!
The topic ‘DB Queries Caching’ is closed to new replies.