Skip to content

Commit 5a835f3

Browse files
committed
Resolve #91 -- Add comment about cache expiration
1 parent 1063fba commit 5a835f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ Next, add the cache configuration to your ``settings.py`` as follows:
6464
# Tell select2 which cache configuration to use:
6565
SELECT2_CACHE_BACKEND = "select2"
6666
67+
.. note::
68+
A custom timeout for your cache backend, will serve as an indirect session limit.
69+
Auto select fields will stop working after, once the cache has expired.
70+
It's recommended to use a dedicated cache database with an adequate
71+
cache replacement policy such as LRU, FILO, etc.
72+
6773

6874
External Dependencies
6975
---------------------

0 commit comments

Comments
 (0)