Microsoft.com
All DevCenters
MSDN Home
MSDN Archive:
MSDN Archive Home
|
Browse Archive
|
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
2010
2011
2012
ADO.NET
ASP.NET
Azure
C#
C++
CRM
Entity Framework
Hotfix
LINQ
LINQ to SQL
March Issue
MCMS
MSDN Magazine
Samples
SharePoint
SharePoint 2010
silverlight
SQL Server
tfs
VB.NET
Visual Basic
Visual Studio
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
VS SDK
VSTO
VSX
WCF
windows 7
Windows Forms
Windows Mobile
WPF
Manage Your Profile
Contact Us
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
Trademarks
Privacy Statement
Updating...