From: Dobrica Pavlinusic Date: Mon, 24 May 2010 19:38:51 +0000 (+0200) Subject: don't even send javascript X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=inline;h=7a2d116ae064c6fe1c7ae3ba3cef0ef7a19fac80;p=MojoFacets.git don't even send javascript This allows us to cut down 15s display time (with more than 45000 values) down to 6.7s (from 10 while we where sending javascript on bottom of page). --- diff --git a/templates/data/facet.html.ep b/templates/data/facet.html.ep index 5c907e0..ffa7dd5 100644 --- a/templates/data/facet.html.ep +++ b/templates/data/facet.html.ep @@ -39,7 +39,9 @@ +% if ( $#$facet_names < 5000 ) { +% } % if ( $#$facet_names < 100 ) {
<%#= dumper $facet %>