Ticket #20346 is the request that cache keys should be generated from a request's full URL rather than path, and the proposed implementation of this is backwards-incompatible.
Because the existing keys are a hash of the path, and so, so far as I know, we do not have the original path needed to migrate keys, I do not see how we can migrate existing keys.
I am alerting everyone to this and wondering if anyone has ideas which preserve backwards compatibility.
If a backwards-incompatible change is necessary, I wonder if it would be appropriate to change cache keys to be more compatible with looking up directly via reverse proxies and webservers. Django cache keys are Django-specific module names and hashes, but it might be desireable to have them be in a simple, readable format such as
http://www.example.com/path/to;method=GET;locate=en-us;Vary=Pony;etc. Other programs can easily generate those keys in order to fulfill cache hits.
Thanks.