memcache cache keys interact poorly with query parameters
Bug #634326 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
If you look at https:/
You'll see cache keys like:
pt:lpnet:
These are for bug comments which are rendered the same way on bug index and on bugindex?
Is there a way for the template to say that the key should not contain this?
Related branches
lp:~stub/launchpad/memcache
- Brad Crittenden (community): Approve (code)
-
Diff: 207 lines (+82/-14)3 files modifiedlib/lp/services/memcache/doc/tales-cache.txt (+52/-5)
lib/lp/services/memcache/tales.py (+26/-7)
lib/lp/services/memcache/tests/test_doc.py (+4/-2)
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
tags: |
added: qa-untestable removed: qa-needstesting |
To post a comment you must log in.
This sounds like a good idea, and simple enough at the Python end. We need to decide on the syntax for the TALES - we need to support our use cases without becoming unwieldy. I expect this will need an extra parameter - I don't think we can sanely overload any of the existing parameters.