How can I test if my redis cache is working?

前端 未结 3 601
时光取名叫无心
时光取名叫无心 2021-02-02 14:54

I\'ve installed django-redis-cache and redis-py. I\'ve followed the caching docs for Django. As far as I know, the settings below are all that I need. But how do I tell if it\'s

3条回答
  •  心在旅途
    2021-02-02 15:28

    Usage of Redis has been focused on lowering the overall query load to the database.

    This system likes to work independetly without any coflict ;)

    I suggest don't worry about its operation and don't change its configs if you can see its activities at:

    > redis-cli MONITOR
    

    And there is some elements about your code.

提交回复
热议问题