www.久久久久|狼友网站av天堂|精品国产无码a片|一级av色欲av|91在线播放视频|亚洲无码主播在线|国产精品草久在线|明星AV网站在线|污污内射久久一区|婷婷综合视频网站

當(dāng)前位置:首頁 > > 充電吧
[導(dǎo)讀]技巧16:在任何可能時使用Server.Transfer,而不要用Response.Redirect  Response.Redirect告訴瀏覽器請求另一個不同的頁面,這常常用于引導(dǎo)用戶到登錄頁面或

技巧16:在任何可能時使用Server.Transfer,而不要用Response.Redirect

  Response.Redirect告訴瀏覽器請求另一個不同的頁面,這常常用于引導(dǎo)用戶到登錄頁面或者出錯處理頁面。由于重定向強(qiáng)迫了一個新頁面請求,結(jié)果是瀏覽器必須要與Web服務(wù)器循環(huán)2次,并且Web服務(wù)器必須處理一個額外的請求。IIS5.0引進(jìn)了一個新功能Server.Transfer,它執(zhí)行在同一服務(wù)器上的頁面?zhèn)鬏敚@將避免額外的瀏覽器-Web服務(wù)器的數(shù)據(jù)循環(huán),形成良好的系統(tǒng)性能,對于用戶也有較好的響應(yīng)時間。

技巧17:避免使用服務(wù)器變量

  存取服務(wù)器變量導(dǎo)致Web站點(diǎn)建立一個特殊的請求并收集所有的服務(wù)器變量,而并不是你要求的那個變量。這類似于在文件夾中取回一個特殊的文件,要想取回一個文件,就得首先獲取所在文件夾的信息。

  不要存取非法的Request對象(比如Request("Data")),對于那些不在Request.Cookies、Request.Form、Request.QueryString或者Request.ClientCertificate中的項目,隱含就指向了Request.ServerVariables變量,而這些變量要比其他集合對象慢得多。

技巧18:調(diào)整Web服務(wù)器

  有幾個IIS調(diào)整參數(shù)可以提高站點(diǎn)性能。比如,對于IIS4.0,我們經(jīng)常發(fā)現(xiàn)提高ASP ProcessorThreadMax參數(shù)能夠產(chǎn)生重大的效果,特別是在那些要等待后臺資源比如數(shù)據(jù)庫或中間件產(chǎn)品的站點(diǎn)。在IIS5.0中,你可以發(fā)現(xiàn)調(diào)整ASP線程通道要比調(diào)整AspProcessorThreadMax效果更佳。

最佳的配置設(shè)定取決于應(yīng)用程序代碼、支持的硬件設(shè)備以及客戶端的工作量。發(fā)現(xiàn)最佳配置的唯一方法就是測試。

相關(guān)參考資源
Optimizing ASP scripts Developing Scalable Web Applications Got Any Cache? by Nancy Winnick Cluts Maximizing the Performance of Your Active Server Pages by Nancy Winnick Cluts 15 Seconds: Performance Section Enhancing Performance in ASP - Part I by Wayne Plourde When is Better Worse? Weighing the Technology Trade-Offs by Nancy Winnick Cluts Speed and Optimization Resources by Charles Carroll Tuning IIS The Art and Science of Web Server Tuning with Internet Information Services 5.0 Leveraging ASP in IIS 5.0 by J.D. Meier Tuning IIS 4.0 for High Volume Sites by Michael Stephenson Tuning Internet Information Server Performance by Mike Moore Navigating the Maze of Settings for Web Server Performance Optimization by Todd Wanke Managing Internet Information Server 4.0 for Performance by Hans Hugli ADO and SQL Server Top Ten Tips: Accessing SQL Through ADO and ASP by J.D. Meier Improve the Performance of your MDAC Application by Suresh Kannan Pooling in the Microsoft Data Access Components by Leland Ahlbeck and Don Willits SQL Server: Performance Benchmarks and Guides Improving the Performance of Data Access Components with IIS 4.0 by Leland Ahlbeck Microsoft Data Access Components (MDAC) and ActiveX Data Objects (ADO) Performance Tips by Leland Ahlbeck Microsoft SQL Server 7.0 Practical Performance Tuning and Optimization - The Server Perspective by Damien Lindauer Microsoft SQL Server 7.0 Practical Performance Tuning and Optimization - The Application Perspective by Damien Lindauer Accessing Recordsets over the Internet by Dino Esposito ASP components and threading models ASP Component Guidelines by J.D. Meier Q243548: INFO: Design Guidelines for VB Components under ASP Threading Models Explained by Nancy Winnick Cluts So Happy Together? Using ActiveX components with Active Server Pages by Nancy Winnick Cluts Developing Active Server Components with ATL by George Reilly Agility in Server Components by Neil Allain Building High-Performance Middle-Tier Components with C++ by Jon Flanders Active Server Pages and COM Apartments by Don Box House of COM: Active Server Pages by Don Box House of COM: Contexts by Don Box House of COM: Performance Trade-offs of the Windows 2000 Component Execution Environment by Don Box Building COM Components That Take Full Advantage of Visual Basic and Scripting by Ivo Salmre Component Design Principles for MTS Dictionary components Creating a Page Cache Object by Robert Coleridge Abridging the Dictionary Object: The ASP Team Creates a Lookup-Table Object by Robert Carter Caprock Dictionary Site Server Commerce Edition includes a dictionary component Session state Q175167: HOWTO: Persisting Values Without Sessions Q157906: HOWTO: How To Maintain State Across Pages with VBScript XML-based Persistence Behaviors Fix Web Farm Headaches by Aaron Skonnard House of COM: Stateless Programming by Don Box Performance and scalability Blueprint for Building Web Sites Using the Microsoft Windows DNA Platform Server Performance and Scalability Killers by George Reilly Microsoft Visual Studio Scalability Center Fitch & Mather Stocks 2000 Tuning the FMStocks Application High-Performance Visual Basic Apps by Ken Spencer Duwamish Books, Phase 4 Top Windows DNA Performance Mistakes and How to Prevent Them by Gary Geiger and Jon Pulsipher Building from Static HTML to High-Performance Web-Farms by Shawn Bice Tools Microsoft Web Application Stress Tool I Can? Stress It Enough -- Load Test Your ASP Application by J.D. Meier Windows DNA Performance Kit Monitoring Events in Distributed Applications Using Visual Studio Analyzer by Mai-lan Tomsen Books Professional Active Server Pages 3.0, Wrox Press. (Especially Chapter 26: Optimizing ASP Performance, by George Reilly and Matthew Gibbs) Microsoft Internet Information Services 5.0 Resource Guide (bundled with Windows 2000 Server Resource Kit, Microsoft Press. Microsoft Internet Information Server Resource Kit (for IIS 4.0), Microsoft Press. Programming Distributed Applications with COM and Microsoft Visual Basic 6.0 by Ted Pattison, Microsoft Press. Effective COM by Don Box, Keith Brown, Tim Ewald, and Chris Sells; Addison-Wesley. Developing Web Usability: The Practice of Simplicity by Jakob Nielsen, New Riders. ASP Web sites Microsoft TechNet for IIS LearnASP.com 4GuysFromRolla.com 15Seconds.com AspToday.com Asp101.com AspLists.com. Many specialized mailing lists including: Fast Code! ASP Advanced Not Newbie State Management Scalability Visual Basic Components XML C++/ATL Component Building UseIt.com: Web Usability ASP style ASP Best Practices by George Reilly ASP Quick Lessons by Charles Carroll Planning for ASP by John Meade ASP Guidelines by J.D. Meier XML Inside XML Performance by Chris Lovett Inside MSXML3 Performance by Chris Lovet

本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實性等。需要轉(zhuǎn)載請聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

Analog Devices, Inc.宣布與Microsoft Corp.達(dá)成戰(zhàn)略合作,利用Microsoft的3D飛行時間(ToF)傳感器技術(shù),讓客戶可以輕松創(chuàng)建高性能3D應(yīng)用,實現(xiàn)更高的深度精度,而不受具體的環(huán)境條...

關(guān)鍵字: microsoft 3d成像 adi

微軟在使Windows 10對消費(fèi)者具有吸引力的努力中越來越具有創(chuàng)造力。 該公司提供了一個有吸引力的應(yīng)用程序,稱為“您的電話”,可讓您與計算機(jī)共享智能手機(jī)的屏幕。

關(guān)鍵字: iOS windows10 microsoft

在筆記本電腦上,觸摸屏的使用正日益普及。它們提供了簡單的用戶界面,并且更加快捷有效。但是,仍然有許多缺乏觸摸靈敏度的計算設(shè)備,尤其是大多數(shù)臺式機(jī)。Microsoft提出了一項技術(shù),非觸摸設(shè)備的用戶也可

關(guān)鍵字: microsoft 微軟 云計算 觸摸輸入

以麥克斯韋電磁場理論為基礎(chǔ),對某衛(wèi)星通信地球站天饋線中心體中的高頻電子設(shè)備多次被雷擊壞進(jìn)行了分析,并提出了衛(wèi)星通信地球站防雷系統(tǒng)是一個系統(tǒng)工程,應(yīng)采取綜合防雷措施。對某衛(wèi)星站防雷擊提起出了簡單的雷擊解

關(guān)鍵字: asp ussd

出于明顯的原因,Microsoft還是促進(jìn)向TLS 1.2遷移的公司之一。 最近,這家軟件巨頭宣布對其Linux應(yīng)用程序庫進(jìn)行更改。 package.microsoft.com上托管的Linux軟件集合不再支持TLS 1...

關(guān)鍵字: Linux microsoft tls1.01.1

據(jù)報道,微軟于6月發(fā)布了適用于Android設(shè)備的Microsoft Defender ATP。

關(guān)鍵字: Android atp defender microsoft

Microsoft Surface Duo是最近宣布的, 現(xiàn)在,Microsoft已發(fā)布了一段視頻,詳細(xì)介紹了該設(shè)備的所有重要方面。 這段35分鐘的演示視頻將幫助對本設(shè)備感興趣的人決定是否購買該設(shè)備。

關(guān)鍵字: Android duo microsoft surface

7月29日消息 外媒Neowin報道,微軟上周公布了 2020 財年第四季度財報,以上一季度 380 億美元收入完成了本財年的任務(wù)。強(qiáng)勁的收益部分得益于 Windows、游戲和 Surface 硬件。

關(guān)鍵字: 365 microsoft office 微軟

微軟在其官方博客上宣布,微軟的Surface Duo雙屏手機(jī)將于9月10日開始在美國發(fā)售。 價格從1,399.99美元起,約合人民幣9,722元。 IT House先前曾報道Surface Duo不使用Windows 1...

關(guān)鍵字: Android duo logo microsoft surface

8月12日晚間,微軟通過官方博客宣布,微軟雙屏手機(jī) Surface Duo 將于 9 月 10 日開始在美國發(fā)貨。定價 1399.99 美元起,約合人民幣 9722 元。Surface Duo并沒有采用Windows 1...

關(guān)鍵字: Android microsoft
關(guān)閉