django.cache.hits
Successful cache retrievalsDimensions:None
Available on:
Datadog (1)
Interface Metrics (1)
Technical Annotations (34)
Configuration Parameters (9)
shared_bufferstimeoutrecommended: 60 * 60CACHES.BACKENDrecommended: django.core.cache.backends.memcached.PyMemcacheCacheCACHES.OPTIONS.CULL_FREQUENCYrecommended: 3CACHES.OPTIONS.MAX_ENTRIESrecommended: 300key_prefixrecommended: unique prefix per viewCACHES.default.BACKENDrecommended: django_redis.cache.RedisCacheLOCATIONrecommended: 127.0.0.1:11211HITCOUNT_CACHErecommended: cached_hitcountError Signatures (1)
ConnectionRefusedError: [Errno 111] Connection refusedexceptionCLI Commands (4)
./manage.py shelldiagnosticcache.has_key('/post/1234/')diagnosticcache.has_key('domain.com/post/1234/')diagnosticcache.has_key('www.domain.com/post/1234/')diagnosticTechnical References (20)
Django Debug Toolbarcomponentcache panelcomponentRediscomponentdjango_cache_get_hits_totalcomponentdjango_cache_get_misses_totalcomponentTTLconceptpost_savecomponentpost_deletecomponentcache keyconceptRedisCachecomponentredis_cache.setcomponent@cache_pagecomponentget_cache_keycomponentdefault_key_funccomponentcache_pagecomponentabsolute_uriconceptdjango.core.cachecomponentMemcachedCachecomponentmemcachecomponentCACHEScomponentRelated Insights (15)
Low cache hit ratio indicates ineffective cache configurationinfo
▸
Repeatedly called endpoints without caching increase database loadwarning
▸
Cache hit ratio below 70% indicates inefficient cachingwarning
▸
Stale cached QuerySet data from missing invalidationwarning
▸
Cache key without authorization context causes unauthorized data accesscritical
▸
Database bottleneck causes response time spikes during high trafficwarning
▸
Improper cache expiry time causes stale data or server overloadwarning
▸
Memcached data loss on server crash or restartwarning
▸
CULL_FREQUENCY=0 causes full cache dump at capacitywarning
▸
Page cache invalidation requires complex manual key managementinfo
▸
Database cache backend defeats primary caching purposewarning
▸
Stale cache served after updates due to key mismatchwarning
▸
Memcached server unreachable causes connection refusedcritical
▸
Memcache unavailability prevents hit trackingwarning
▸
Cache hit ratio below 85% indicates optimization neededwarning
▸