#34271: Add a simple page caching method
-------------------------------------+-------------------------------------
Reporter: Niccolò Mineo | Owner: nobody
Type: Uncategorized | Status: closed
Component: Core (Cache system) | Version: 4.1
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* cc: Ahter Sönmez (added)
* status: new => closed
* resolution: => duplicate
Comment:
I think this is related to #5815 - per-view cache invalidation.
The issue there is it's ''Not Easy™'' to generate the right cache key
outside of the request context.
9 time 10 I've wanted to just clear by the path as suggested here.
Can you think about whether we can make the make key function more
pluggable and so solve #5815 in a way compatible with your desire here?
I'm going to provisionally mark this as a duplicate. If on investigation
that's not right, do re-open and I'll take a further look.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/34271#comment:1>
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/01070185c4f415de-42b48ff6-0517-447c-b314-1deb143ea3ef-000000%40eu-central-1.amazonses.com.