Performance
Here go a few notes scribbled in wiki about things we can do to make the bugs pages faster:
- Get rid of mochikit dependency
- Pop-help uses this on bugs
- Comment expanders
- filebug expanders (?, according to sinzui)
- Ensure we use sprites not individual images
- Break up huge launchpad.js file
- Use YUI loader if possible (requires one YUI.use statement per page)
- Cache liberally
- Use slave db liberally
- stub says: "I'd like to see all bug searches hitting the slave instead of the master - they are pretty heavy weight."
- and "lib/canonical/launchpad/doc/db-policy.txt goes over how to install a db policy to make the slave a default for a section of code, or just ISlaveStore(Bug).find(...) to be explicit."