Igor Kitsula .NET Developer

A Web Programmer Reference

 

MVC Custom Error Pages

In previous article I shown you how to use log4net to log errors and redirect to custom error page. The problem in this approach is redirection. It’s not good for SEO to make redirection to custom error page.

Read more...Read more...

How to Compress components with gzip OR Enable dynamic and static compression

According to the YSlow article compressing with gzip generally reduces the response size by about 70%.
As we can see little change in settings can improve performance of website.
As this is IIS web server setting you can configure it in two ways:

Read more...Read more...

Configure Expired Headers on IIS7

YSlow: "Web pages are becoming increasingly complex with more scripts, style sheets, images, and Flash on them. A first-time visit to a page may require several HTTP requests to load all the components. By using Expires headers these components become cacheable, which avoids unnecessary HTTP requests on subsequent page views. Expires headers are most often associated with images, but they can and should be used on all page components including scripts, style sheets, and Flash." More…

Read more...Read more...