Want a faster website? Studies show that slow websites can drive traffic away from your website and directly to your competitors. Performance tweaks are available for every application in varying degrees of ROI. Fortunately, there is an easy way to improve the speed of your ASP.NET website in just 4 lines of code.
A Faster Website
According to Yahoo’s 13 Simple Rules for Speeding Up Your Website two of the most important changes you can make to your site are “Gzip Components” and “Add an Expires Header”. While there are numerous changes you can make, these two are the low hanging fruit targeted by the code outlined below.
<urlCompression doDynamicCompression=”true” doStaticCompression=”true” dynamicCompressionBeforeCache=”true”/>
What Does It All Mean?
The caveat to this benefit is that the web browser will not find any changes made to this content until the expiration date has been reached. There are two good ways to address this. If you absolutely need your visitors to see a change today then use a new file name. The new name will not be found in the web browser cache and will be immediately downloaded. The second option is to use a shorter duration cache. This will still reduce the bandwidth load for your application but will ensure that visitors receive the changes in a timely manner.
Faster Website Conclusion
Since 1981, Oakwood has been helping companies of all sizes, across all industries, solve their business problems. We bring world-class consultants to architect, design and deploy technology solutions to move your company forward. Our proven approach guarantees better business outcomes. With flexible engagement options, your project is delivered on-time and on budget. 11,000 satisfied clients can’t be wrong. Let’s have a discussion to learn more about your business needs and goals.
General Questions | Request a Scope of Work
♦ 314-824-3000 (St. Louis)
♦ 913-232-4057 (Kansas City)
♦ 800-810-8412 (After Hours)