You have been subscribed to a public bug:

When initial discussions for RNR started, we talked about caching of
URLs for reviews etc., and I think it was for that reason that mvo/barry
went with the long urls with the language, distro, series in the URL.

But bug 673948 indicates that we have the following additional
complexities:

1) for reviews of a particular package we'll need to batch the results rather 
than returning all the results (note, pagination could also be added to the 
urls without too much trouble /en/ubuntu/hardy/+binary/mypackage/page/1/ - so 
in this respect it may be worthwhile)
2) for review stats the client will need to request a set of stats based on 
what the client wants to display in the UI (ie. user searches for 'game') (eg. 
/en/ubuntu/hardy/+review-stats/package_names/foo,bar,blah,url,encoded,of,course/
 - if the client always requests the same number of items in alphabetical 
order, we may get a decent cache hit rate?)

While we're there, it would be great to make the templates/tests
independent of the urls (using reverse etc.)

** Affects: rnr-server
     Importance: Undecided
     Assignee: Michael Nelson (michael.nelson)
         Status: Fix Released

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New

-- 
URLs need to be (more) cacheable
https://bugs.launchpad.net/bugs/681471
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to