I'm using django rest framework, to create and retrieve records, but I noticed that when I create a new record and then try to fetch the list of records it doesn't show in the list of records even after 24h, unless I restart the gunicorn server.
I think it has something to do with caching, but I didn't find anything intresting in the documentation about caching.
I want to keep the caching as it is good for performance... but I want the new records to show, is there anyway to refresh the cache after a record is added? or anything similar?
here is a screenshot of my modelviewset.