Part of Django Control Room

    Cache visibility, zero guesswork

    Understand exactly what's happening in your cache layer. Visualize hit rates, inspect stored keys, and debug invalidation issues so you can stop guessing and start optimizing.

    pip install dj-cache-panel
    Django Admin ยท dj-cache-panel
    Hit / Miss Ratio
    Hits Misses
    Mon
    Tue
    Wed
    Thu
    Fri
    Sat
    Sun
    Cached Entries
    KeyBackendTTLHitsStatus
    views.homepageRedis300s1,284active
    views.product_42Redis600s847active
    api.user_prefsMemcached120s2,103active
    template.nav_fragFile3600s432stale

    Features

    Everything you need to optimize your cache

    No external dashboards. No extra infrastructure. Just your Django admin, supercharged.

    Hit/miss ratio tracking

    Visualize cache hit rates over time. Understand how effective your caching strategy really is.

    Key inspection

    Browse cached keys with TTL, size, and value details. See exactly what's stored and when it expires.

    TTL & expiry monitoring

    Track key expiration patterns and identify keys with suboptimal TTLs dragging down your hit rate.

    Invalidation debugging

    Debug cache invalidation issues and perform bulk operations. Clear specific keys or entire cache backends.

    Backend-agnostic

    Works with Memcached, Redis, file-based, database, and custom cache backends. No vendor lock-in.

    Respects Django permissions

    Leverages Django's built-in auth and permissions system. Control who sees what with standard admin access.

    Installation

    Up and running in 60 seconds

    1
    Install the package
    pip install dj-cache-panel
    2
    Add to INSTALLED_APPS
    INSTALLED_APPS = [
        # ...
        "dj_control_room_base",
        "dj_cache_panel",
    ]
    3
    Add URLs
    urlpatterns = [
        # ...
        path("admin/dj-control-room-base/", include("dj_control_room_base.urls")),
        path("admin/dj-cache-panel/", include("dj_cache_panel.urls")),
        path("admin/", admin.site.urls),
    ]
    4
    Restart & visit the admin

    Restart your Django server and navigate to the Control Room in your admin. The Cache panel will appear automatically.

    Part of the suite

    Django Control Room

    dj-cache-panel is one of several admin-native panels. Explore Redis monitoring, Celery task queues, URL mapping, and more.

    Stay in the loop

    New panels, project updates, and Django content straight to your inbox.

    DCR
    Django Control Room

    MIT License

    Django is a registered trademark of the Django Software Foundation. This project is not affiliated with or endorsed by the DSF.