1 Debug模式一定要關(guān)閉,編譯要Release。
2 數(shù)據(jù)提取用存儲過程。
3 使用頁面緩存,呵呵,一條<%@ OutputCache Duration="120" VaryByParam="*" %>語句對于那些頁面數(shù)據(jù)變化時間較長的頁面很管用,飛快
。
4 不要忘記<%@ Page EnableViewState="false" .... %>給頁面減肥。
5 還有一招,可以對頁面請求進(jìn)行數(shù)據(jù)壓縮?
http://www.dotnetdevs.com/articles/IIS6compression.aspx 可以試試。
用靜態(tài)頁面最好,但是,網(wǎng)站如果還沒有基本定型、訪問量不太大的話,還是不用為好。<%@ OutputCache Duration="120" VaryByParam="*" %><%@ OutputCache Duration="120" VaryByParam="*" %><%@ OutputCache Duration="120" VaryByParam="*" %>