Switch to using the cached template loader.
Switch to using the cached template loader.

The cached template loader will cache the path to a template, given a
template name. Unlike the standard loaders, which will search every
location every time, this will only search the location once per thread.

This is not a memcached-based solution, but rather local memory, so
every thread will start with a fresh cache.

In my tests, this sped up the dashboard and review request pages by
~100-120ms, after the first load.

custode/reviewboard,bkochendorfer/reviewboard,KnowNo/reviewboard,brennie/reviewboard,1tush/reviewboard,reviewboard/reviewboard,custode/reviewboard,sgallagher/reviewboard,beol/reviewboard,1tush/reviewboard,bkochendorfer/reviewboard,1tush/reviewboard,chipx86/reviewboard,brennie/reviewboard,davidt/reviewboard,davidt/reviewboard,brennie/reviewboard,reviewboard/reviewboard,reviewboard/reviewboard,chipx86/reviewboard,1tush/reviewboard,beol/reviewboard,KnowNo/reviewboard,beol/reviewboard,KnowNo/reviewboard,sgallagher/reviewboard,1tush/reviewboard,1tush/reviewboard,custode/reviewboard,1tush/reviewboard,KnowNo/reviewboard,1tush/reviewboard,1tush/reviewboard,brennie/reviewboard,bkochendorfer/reviewboard,davidt/reviewboard,davidt/reviewboard,chipx86/reviewboard,reviewboard/reviewboard,sgallagher/reviewboard,beol/reviewboard,chipx86/reviewboard,bkochendorfer/reviewboard,custode/reviewboard,sgallagher/reviewboard