projecthydra/sufia — pull request #88 by terrellt (2013-05-02 18:46:41+00:00)
Title: Updated the download controller to use load_instance_from_solr for speed

Squashed commit of https://github.com/projecthydra/sufia/pull/85

We recently implemented a similar downloads controller that we used for thumbnails (similar to you folks), and found that we got the same functionality at a significantly quicker pace (2-4x) if we hit up solr rather than ActiveFedora::Find. Thought I'd share. Seems to pass all your tests, but you'd know best if this'd affect you in any undue way.