--
Ticket URL: <https://code.djangoproject.com/ticket/30984>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* component: Uncategorized => Core (Cache system)
* resolution: => invalid
Comment:
> I noticed that there is a cull() method that randomly deletes my cache
files. This is horrible since my users don't get the cached results
anymore and have to wait very long until they get the calculated result.
> Don't you consider this cull() method dangerous?
Cache is to cache values, and all cache system have limited capacity, so
to create a space for new values we need to remove old entries, that's why
culling is necessary. Cache backends implement their own culling strategy
(see [https://docs.djangoproject.com/en/2.2/topics/cache/#cache-arguments
documentation]). You can increase `MAX_ENTRIES`, but I think that you're
using cache in a wrong way. Nevertheless I don't see here any issue in
Django.
Closing per TicketClosingReasons/UseSupportChannels
--
Ticket URL: <https://code.djangoproject.com/ticket/30984#comment:1>