Tips to optimize your website performance

Tips to optimize your website performance

Posted on May 17, 2010 0 Comments

The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.

Here are some good practices that you can use to optimize the performance of your website.

 

Generally the pages output depends on what you have on your pages - how many controls you have on a page,  how many images images, scripts etc you are loading, how do you bind the controls to your data source etc.

  • Use  ScriptResourceHandler that processes all requests for embedded script files that are referenced through the ScriptManager class. By default, the ScriptResourceHandler class compresses and caches embedded script files for Internet Explorer 7. You can turn compression and caching off through the EnableCompression and EnableCaching properties. When an ASP.NET page that contains AJAX functionality runs on IIS 7.0 on Windows Vista , and if the managed pipeline mode of IIS 7.0 is set to Integrated, the scripts processed by the ScriptResourceHandler class are not cached. The scripts are cached when the managed pipeline mode is set to Classic. For more information about the managed pipeline mode of IIS 7.0, see Upgrading ASP.NET Applications to IIS 7.0: Differences between IIS 7.0 Integrated Mode and Classic Mode.


  • Use HTTP compression to decrease the page size before sending the page. The idea of compression is that client receives the compressed content, then decompresses it on the fly before rendering the page. You could try to enable IIS compression - IIS 7: HTTP Compression API Reference
  • Another options  - HTTP Gzip and Deflate compression ( deflate is better).
  • Using RadStyleSheetManager - when added to a page the stylesheet requests will be combined into a single request. By default each of the RadControls for ASP.NET Ajax serves a set of files (stylesheets) needed for its proper client-side look. When loading a page with several controls on it, the number of these files can become very large, often resulting in a reduced page load time and increased traffic. So RadStyleSheetManager reduces the bandwidth. You could try using RadScriptManager as well. RadControls for ASP.NET AJAX supports CDN which will also decrease your bandwidth.
  • Increase the IIS Recycling

Configuring Recycling Settings for an Application Pool (IIS 7)

Configuring Recycling in IIS 6.0 (IIS 6.0) 

Configuring Worker Processes for Recycling


Using page caching should be used together with Substitution controls to specify a section of an output-cached Web page where you want to display dynamic content

 

Related articles

Observing requests with HTTP Watch and Fiddler could determine why/where a given response/request is delayed.
progress-logo

The Progress Team

View all posts from The Progress Team on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.

Comments

Comments are disabled in preview mode.
Topics

Sitefinity Training and Certification Now Available.

Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.

Learn More
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

Loading animation