How to speed up loading of search page?
"Hancock, David (DHANCOCK)" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
I've had some user complaints about how slow the search page is to load. I believe the biggest part of the load time is the following part of issue.search.html:
<tr tal:define="name string:custcomp;
db_klass string:custcomp;
db_content string:name;">
<th>Company:</th>
<td metal:use-macro="search_select"></td>
<td metal:use-macro="column_input"></td>
<td metal:use-macro="sort_input"></td>
<td metal:use-macro="group_input"></td>
</tr>
If I remove this, load time goes from 9 seconds down to 4 seconds.That speed increase alone is probably sufficient. There are about 3,000 elements in the custcomp class. Our issue.item.html generates essentially the same list in about one second. If I replace the "search_select" line with the corresponding line from issue.item.html, the menu appears (but the form doesn't search any more!).
I'd be grateful for any ideas on how to speed this up? I'm a digest subscriber, so the favor of copying [email protected] would be appreciated (but I'll check the archives, too).
Cheers!
--
David Hancock | [email protected]
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users