Menu

#25 THE PAGE SHOWTIME PROBLEM

open
nobody
None
5
2013-01-08
2007-04-25
wy
No

when you input the large network,the page showtime is too slow.I guess BOX_CIDRMENU.php and iplayout.php has some problem.
xPandMenu.php maybe not fit in large networks.

//think:
when there 400000 IP and 2000 net_ips in mysql.
*******************************************
BOX_CIDRMENU.php CODE:
*******************************************
while(mysql_fetch_array($sqlJoin)){<---- problem?

if(something){
new XNode(something); <---- problem?
}
}
$menu_html_code = $root->generateTree();
*******************************************

top code excutes too slow maybe the reason.

advice:
1) use the iframe,avoid reload the display.php all.Because reload display.php will load BOX_CIDRMENU.php again.THAT'S the slow reason?
only load display.php?range=list.

2) use the smary, template maybe solve the page showtime problem.

3) other method?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.