jet-admin / jet-django

Jet Bridge (Django) for Jet Admin – Admin panel framework for your application

Home Page:https://app.jetadmin.io/demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question regarding Caching

Vadorequest opened this issue · comments

I wonder how can we improve performances using a Cache system.

I'm not familiar with caching in Django, but everywhere I look it's all about views/templates, not about the DB data themselves.

What I'd like to do, is that Jet Django should query my cache first and then fallback on the DB.
I don't know how this is handled by the jet_django package, but I assume it uses the models to query the DB.

What should I configure, so that all read queries go through a cache before hitting the DB?

This may not be related to jet-django, but I'm not sure.

It doesn't make sense for Jet Admin since you want to fetch actual data. Also backoffice application is not something used by millions of users, even big companies will have too few traffic for cache to be needed.