#28614: FileBasedCache documentation shouldn't recommend /var/tmp
------------------------------------------------+------------------------
               Reporter:  Daniel Keller         |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Documentation         |        Version:  1.11
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 In the [https://docs.djangoproject.com/en/1.11/topics/cache/#filesystem-
 caching documentation] for
 `django.core.cache.backends.filebased.FileBasedCache`, it suggests putting
 the cache in `/var/tmp`, presumably because it is world-writeable.
 However, this causes major headaches if you run Apache with systemd's
 PrivateTmp feature (PrivateTmp is on by default in REHL) and try to access
 the cache from e.g. management commands. This is useful to do things like
 periodically prepopulate the cache. A better choice would be `/var/cache`.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.efc989d952e3e0948b25b4ce8ad68013%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to