Replies: 3
Hi everyone, we are using redis cache on our website and we have noticed a substantial improvement in database requests when the listing grid is loaded. However, when a new post is added, the redis cache needs to be cleared completely. Does anyone know how to clear only the redis cache of the CPT or of a URL? Even if it is via the command line, is there a way to do this without having to clear the entire cache?
Even if it is not clearing the cache, but signaling redis to update the cache of that URL on the next load would also solve the problem.
Is there any way to do this? It’s heartbreaking to see a nice 2GB cache being wiped.