Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [4f7fcf0145f57e936bc1f6383bdd85004d934bef] by Gaspard Bucher

Revision 4f7fcf0145f57e936bc1f6383bdd85004d934bef, committed by Gaspard Bucher · October 13th, 2009 @ 11:25 AM

Now that we have a cached version_id, we can preload versions (same as rails' include). Listing version titles for 1466 nodes:
0.12-stable: 13064 ms
vhash without preload: 2055 ms
vhash with preload: 580 ms

We are now 22 times faster !
http://github.com/zena/zena/commit/4f7fcf0145f57e936bc1f6383bdd8500...

3 changed files

  • M lib/zena/acts/multiversion.rb
  • M lib/zena/acts/secure.rb
  • M lib/zena/use/node_query_finders.rb