'Cache clear on the server using redis

As per my understanding, Redis uses cached memory to store the data. Currently, I am having a server with Redis and other functionality installed on it. The server memory utilization is high due to cached memory. Can I clear the cache using sync and drop caches? Would it affect Redis functionality as it stores the data in cache?

Also, correct if my understanding is wrong.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source