网站打开速度特别慢,怎么回事?请高手指点!万分感谢!
网站:http://www.bh-rl.com 首页源码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ OutputCache Duration="100" VaryByParam="none" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{aspcms:additiontitle}{aspcms:sitetitle}</title>
<meta name="Keywords" content="{aspcms:sitekeywords}" >
<meta name="Description" content="{aspcms:sitedesc}" >
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link type="text/css" href="{aspcms:sitepath}/Templates/{aspcms:defaulttemplate}/css/index.css" rel="stylesheet" />
</head>
<body>
<div class="ibody">
{aspcms:top}
<div class="wrap">
<div class="top">
<p>分站:</p>
{aspcms:content sort=130 num=30 reco=c order=order}
<a href="[content:link]" title="[content:title]" target="_blank">[content:title len=17]</a>
{/aspcms:content}
<span><a href="/list/?130_1.html">更多>></a></span>
</div>
{aspcms:adv11}
<!--左边开始-->
<div class="left">
<!--服务项目开始-->
<div class="left_c">
<div class="left_t">{aspcms:type sort=120}[type:name]{/aspcms:type}</div>
<ul class="fuwu">
{aspcms:navlist type=120}
<li><a href="[navlist:link]" target="_blank">[navlist:name]</a></li>
{/aspcms:navlist}
<div style="clear:both;"></div>
</ul>
<div style="clear:both;"></div>
<div class="left_b"></div>
</div>
<!--服务项目结束-->
<!--招工信息开始-->
<div class="left_c">
<div class="left_t"><span style="float:right; position:relative; left:-10px;"><a href="/list/?177_1.html" target="_blank" style="color:#fa5f01; font-weight:normal;">更多>></a></span>{aspcms:type sort=177}[type:name]{/aspcms:type}</div>
<ul class="news">
{aspcms:content sort=177 num=tiao order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=14]</a>{if:[content:visits]>10} <img src="images/hot.gif">
{end if}</li>
{/aspcms:content}
</ul>
<div class="left_b"></div>
</div>
<!--招工信息结束-->
<!--渤海新闻开始-->
<div class="left_c">
<div class="left_t">{aspcms:type sort=136}[type:name]{/aspcms:type}</div>
<ul class="news">
{aspcms:content sort=136 num=tiao order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=14]</a>{if:[content:visits]>10} <img src="images/hot.gif">
{end if}</li>
{/aspcms:content}
</ul>
<div class="left_b"></div>
</div>
<!--渤海新闻结束-->
<!--常见问题答疑开始-->
<div class="left_c">
<div class="left_t">{aspcms:type sort=119}[type:name]{/aspcms:type}</div>
<ul class="news dayi">
{aspcms:content sort=119 num=12 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=14]</a>{if:[content:visits]>10} <img src="images/hot.gif">
{end if}</li>
{/aspcms:content}
</ul>
<div class="left_b"></div>
</div>
<!--常见问题答疑-->
</div>
<!-- 左边结束-->
<script>
<!--
function setTab(name,cursel,n){
for(i=1;i<=n;i++){
var menu=document.getElementById(name+i);/* zzjs1 */
var con=document.getElementById("con_"+name+"_"+i);/* con_zzjs_1 */
menu.className=i==cursel?"hover":"";/*三目运算 等号优先*/
con.style.display=i==cursel?"block":"none";
}
}
//-->
</script>
<!-- 右边开始-->
<div class="right">
<div class="right_c">
<div class="right_t">
<ul class="aajs">
<li id="zzjs1" class="hover" onMouseMove="setTab('zzjs',1,6)" title="公司简介">公司简介</li>
</ul>
<div style="clear:both;"></div>
</div>
<div class="gong_c">
<ul class="fei" id="con_zzjs_1">
{aspcms:about sort=133}
<img src="[about:pic]" title="[about:title]"><span> </span>渤海人力资源集团是一家...
{/aspcms:about}
</ul>
</div>
<div class="right_b"></div>
</div>
<div class="xi">
<div class="xi_t title"> {aspcms:type sort=1}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="xi_c">
{aspcms:about sort=1}
<img src="[about:pic]" title="[about:title]">
{/aspcms:about}
<ul class="news">
{aspcms:content sort=1 num=7 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=15]</a></li>
{/aspcms:content}
</ul>
</div>
<div style="clear:both;"></div>
<div class="xi_b"></div>
</div>
<div class="xi xi_r">
<div class="xi_t title"> {aspcms:type sort=107}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="xi_c">
{aspcms:about sort=107}
<img src="[about:pic]" title="[about:title]">
{/aspcms:about}
<ul class="news">
{aspcms:content sort=107 num=7 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=15]</a></li>
{/aspcms:content}
</ul>
</div>
<div style="clear:both;"></div>
<div class="xi_b"></div>
</div>
<div class="xi">
<div class="xi_t title"> {aspcms:type sort=108}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="xi_c">
{aspcms:about sort=108}
<img src="[about:pic]" title="[about:title]">
{/aspcms:about}
<ul class="news">
{aspcms:content sort=108 num=7 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=15]</a></li>
{/aspcms:content}<strong></strong>
</ul>
</div>
<div style="clear:both;"></div>
<div class="xi_b"></div>
</div>
<div class="xi xi_r">
<div class="xi_t title"> {aspcms:type sort=111}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="xi_c">
{aspcms:about sort=111}
<img src="[about:pic]" title="[about:title]">
{/aspcms:about}
<ul class="news">
{aspcms:content sort=111 num=7 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=15]</a></li>
{/aspcms:content}
</ul>
</div>
<div style="clear:both;"></div>
<div class="xi_b"></div>
</div>
<div class="xi">
<div class="xi_t title"> {aspcms:type sort=134}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="xi_c">
{aspcms:about sort=134}
<img src="[about:pic]" title="[about:title]">
{/aspcms:about}
<ul class="news">
{aspcms:content sort=134 num=7 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=15]</a></li>
{/aspcms:content}<strong></strong>
</ul>
</div>
<div style="clear:both;"></div>
<div class="xi_b"></div>
</div>
<div class="xi xi_r">
<div class="xi_t title"> {aspcms:type sort=109}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="xi_c">
{aspcms:about sort=109}
<img src="[about:pic]" title="[about:title]">
{/aspcms:about}
<ul class="news">
{aspcms:content sort=109 num=7 order=id}
<li><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=15]</a></li>
{/aspcms:content}
</ul>
</div>
<div style="clear:both;"></div>
<div class="xi_b"></div>
</div>
<div class="right_c">
<div class="right_t tt"> {aspcms:type sort=112}<span> <a title="[type:name]" href="[type:link]">更多>></a></span>[type:name]{/aspcms:type} </div>
<div class="anli">
{aspcms:content sort=112 num=4 order=id}
<ul>
<li><img src="[content:pic]" alt="网站打开速度特别慢,咋回事?请!万分感谢"> </li>
<li class="tit"><span><a href="[content:link]" title="[content:title]" target="_blank">[content:title len=10]</a></span></li>
<li>[content:desc len=58]<a href="[content:link]" title="[content:title]" target="_blank">详细>></a></li>
</ul>
{/aspcms:content}
</div>
<div style="clear:both;"></div>
<div class="right_b"></div>
</div>
</div>
<!-- 右边结束-->
<div style="clear:both;"></div>
<div class="tong tui">
<div class="tong_t title">{aspcms:type sort=137}[type:name]{/aspcms:type}</div>
<ul>
{aspcms:navlist type=137}
<li><a href="[navlist:link]" target="_blank"><img src="[navlist:pic]" title="[navlist:name]"></a><br><a href="[navlist:link]">[navlist:name]</a></li>
{/aspcms:navlist}
</ul>
<div style="clear:both;"></div>
</div>
<div class="tong_b"></div>
<div class="tong he">
<div class="tong_t title">{aspcms:type sort=116}[type:name]{/aspcms:type}</div>
<ul>
{aspcms:content sort=116 num=tiao order=id}
<li><img src="[content:pic]" title="[content:title]" alt="网站打开速度特别慢,咋回事?请!万分感谢" > </li>
{/aspcms:content}
</ul>
<div style="clear:both;"></div>
</div>
<div class="tong_b"></div>
<div class="tong qi">
<div class="tong_t title">{aspcms:type sort=117}[type:name]{/aspcms:type}</div>
<ul>
<div id="demo">
<div id="indemo">
<div id="demo1">
{aspcms:content sort=117 num=tiao order=id}
<dl style="float:left; height:">
<dt class="pic"><img src="[content:pic]" alt="网站打开速度特别慢,咋回事?请!万分感谢"></dt>
<dd><a href="[content:link]">[content:title len=10]</a></dd>
</dl>
{/aspcms:content}
</div>
<div id="demo2"></div>
</div>
</div>
</ul>
</div>
<div class="tong_b"></div>
</div>
{aspcms:foot}
</div>
<script>
<!--
var speed=10;
var tab=document.getElementById("demo");
var tab1=document.getElementById("demo1");
var tab2=document.getElementById("demo2");
tab2.innerHTML=tab1.innerHTML;
function Marquee(){
if(tab2.offsetWidth-tab.scrollLeft<=0)
tab.scrollLeft-=tab1.offsetWidth
else{
tab.scrollLeft++;
}
}
var MyMar=setInterval(Marquee,speed);
tab.onmouseover=function() {clearInterval(MyMar)};
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
-->
</script>
</body>
</html>
[解决办法]
http://blog.csdn.net/ex_net/article/details/5642910
[解决办法]
建议css用连接的形式,javascript也是
[解决办法]
你的数据太多吧,把你的查询语句查的少一点,要不就用缓存技术呀。查一遍就行, 这样会以以后的数据造成烦恼呀!