mirror of https://github.com/django/django.git
Fixed #29994 -- Added warning about performance of FileBasedCache with a large number of files.
Co-authored-by: sheenarbw <699166+sheenarbw@users.noreply.github.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
parent
7e297e52c2
commit
1eb94bc8da
|
@ -375,6 +375,14 @@ the user ``apache``.
|
||||||
content, which your site will trust, but also remotely execute arbitrary
|
content, which your site will trust, but also remotely execute arbitrary
|
||||||
code, as the data is serialized using :mod:`pickle`.
|
code, as the data is serialized using :mod:`pickle`.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
Filesystem caching may become slow when storing a large number of files. If
|
||||||
|
you run into this problem, consider using a different caching mechanism.
|
||||||
|
You can also subclass
|
||||||
|
:source:`FileBasedCache <django/core/cache/backends/filebased.py>` and
|
||||||
|
improve the culling strategy.
|
||||||
|
|
||||||
.. _local-memory-caching:
|
.. _local-memory-caching:
|
||||||
|
|
||||||
Local-memory caching
|
Local-memory caching
|
||||||
|
|
Loading…
Reference in New Issue