#32841: Decorator cache_page don't use CACHE_MIDDLEWARE_KEY_PREFIX properly
-------------------------------------+-------------------------------------
     Reporter:  Iuri de Silvio       |                    Owner:  Iuri de
                                     |  Silvio
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Cache system)  |                  Version:  3.2
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Hi.

 `CACHE_MIDDLEWARE_KEY_PREFIX` is for
 [https://docs.djangoproject.com/en/3.2/topics/cache/#the-per-site-cache
 per-site caching] not for `cache_page`, which allows you to set an
 additional prefix but is not intended to use the site-level settings.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32841#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.389963dfbb1665f5e47c945a53bd7d86%40djangoproject.com.

Reply via email to