Microsoft.com
All DevCenters
MSDN Home
MSDN Code Gallery:
Code Gallery Home
|
Browse Gallery
|
Share Code
|
Help and FAQs
Change all image, javascript, css path to another domain for faster download
Home
Downloads
Discussions
People
License
Close
RSS
All Resource Updates
Discussions
Releases
Wiki
RSS
Comments
|
Print
|
Page Info
|
Change History (all pages)
Search Wiki:
Home
Resource Page Description
Browsers can open only two connections per domain thus if you download static content - images, javascript and css from different domains, browser can download more in parallel and thus download page faster. This HttpFilter can intercept page output and insert a http://somedomain prefix before every image tag, script tag and link tag and thus make all these content download from different domains.
Read my blog post on how to use this:
http://msmvps.com/blogs/omar/archive/2008/08/01/loading-static-content-in-asp-net-pages-from-different-domain-for-faster-parallel-download.aspx
Last edited
Aug 1 2008 at 9:22 PM
by
oazabir
, version 2
Comments
Sign in to add a comment
Current Release
StaticContentFilter.cs...
Fri Aug 1 2008 at 7:00 AM
More Tags ...
Popular Tags
.NET
.NET 2.0
.NET 3.5
.NET Framework
2008
2009
ADO.NET
ASP.NET
C#
C# 3.0
C++
CMS
CRM
Dynamics
Entity Data Model
Entity Framework
Hotfix
LINQ
LINQ to SQL
MCMS
MSCRM
MSDN Magazine
Placeholder Controls
Samples
SharePoint
silverlight
Silverlight 2.0
SQL Server
tfs
Tools
Visual Basic
Visual C#
Visual Studio
Visual Studio 2005
Visual Studio 2008
VS SDK
VSTO
VSX
WCF
Windows Forms
Windows Mobile
WPF
Manage Your Profile
Legal
Contact Us
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
Trademarks
Privacy Statement
Updating...