[Django] #27166: Documentation clarification on warning for using cache-based sessions

25 views
Skip to first unread message

Django

unread,
Sep 1, 2016, 11:16:06 AM9/1/16
to django-...@googlegroups.com
#27166: Documentation clarification on warning for using cache-based sessions
-------------------------------+--------------------
Reporter: pydolan | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
In the 1.10 version of the
[https://docs.djangoproject.com/en/1.10/topics/http/sessions/#using-
cached-sessions Using cache sessions] documentation, it warns the user
that, "You should only use cache-based sessions if you’re using the
Memcached cache backend."

From what I understand, other cache backends like Redis work as well as
Memcached for this use case. Assuming my understanding is correct, the
documentation should be updated to reflect this.

If I'm incorrect, perhaps add a note about why Redis is not a viable
candidate.

--
Ticket URL: <https://code.djangoproject.com/ticket/27166>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 1, 2016, 11:18:55 AM9/1/16
to django-...@googlegroups.com
#27166: Documentation clarification of warning for using cache-based sessions
-------------------------------+--------------------------------------

Reporter: pydolan | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by pydolan):

* needs_docs: => 0
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27166#comment:1>

Django

unread,
Sep 1, 2016, 11:40:10 AM9/1/16
to django-...@googlegroups.com
#27166: Documentation clarification of warning for using cache-based sessions
-------------------------------+--------------------------------------

Reporter: pydolan | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by timgraham):

Django doesn't ship a Redis cache backend so the warning is merely limited
to the cache backends shipped with Django. Clearly, we cannot assess the
entire possibility of third-party cache backends. Do you feel this needs
clarification?

--
Ticket URL: <https://code.djangoproject.com/ticket/27166#comment:2>

Django

unread,
Sep 2, 2016, 8:29:31 AM9/2/16
to django-...@googlegroups.com
#27166: Documentation clarification of warning for using cache-based sessions
-------------------------------------+-------------------------------------
Reporter: pydolan | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
| worksforme
Keywords: | Triage Stage:
| Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* status: new => closed
* type: Uncategorized => Cleanup/optimization
* resolution: => worksforme


--
Ticket URL: <https://code.djangoproject.com/ticket/27166#comment:3>

Reply all
Reply to author
Forward
0 new messages