Merge lp:~stub/launchpad/memcache into lp:launchpad
Proposed by
Stuart Bishop
Status: | Merged |
---|---|
Approved by: | Stuart Bishop |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11830 |
Proposed branch: | lp:~stub/launchpad/memcache |
Merge into: | lp:launchpad |
Diff against target: |
207 lines (+82/-14) 3 files modified
lib/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) |
To merge this branch: | bzr merge lp:~stub/launchpad/memcache |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+37963@code.launchpad.net |
Commit message
Stop generating invalid memcache keys and allow more cache sharing.
Description of the change
Add a 'noparam' option to allow cache to be shared when URLs differ only by the query string, resolving Bug #634326.
Also fix a bug where invalid memcache keys could be generated when the loop key contained a long string, per Bug #634646.
Some minor delinting.
To post a comment you must log in.
Thanks for the branch Stuart.
I've rewritten this intro to be clearer:
11 +An optional modifier can also be applied to the visibility. Only 'param'
12 +and 'noparam' are supported with 'param' as the default. Pages that
13 +differ by only the query string do not share cache.
Your test claims param is the default but doesn't show it.
Otherwise it looks fine.