On Wed, Jan 23, 2013 at 9:42 AM, Scott Parker <scott.p.par...@gmail.com> wrote: > Static files on boot... dang. When I was first investigating our slow boot > time I swear I checked Enlive, but another quick glance at the source > indicates it's almost certainly a contributor. Expletive! I will start > capturing some metrics on how much time we're spending loading HTML > templates at init. We're not loading a godawful number of separate HTML > files, so I'd like to avoid a bunch of delays throughout my views if > possible.
FWIW, what I do with Enlive is to cache templates in an atom (as a map from names to html-resource call results) so we only load each template once - unless we force the app to reload. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en