.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

ASP.NET web application - WebResource.axd and ScriptResource.axd files - Loading time issue

Posted By: Venkat     Posted Date: September 16, 2009    Points:2   Category :ASP.Net
We are building an ASP.NET application with C#.net as language.

Here, when the IIS renders a page & when we analyze the page code with YSlow tool it shows many WebResource.axd and ScriptResource.axd files (as we are referring many script files in the page).

Server-side code is executing fast but loading of these .axd files is taking time.

So would you please guide me on this, if there is a way to optimize or suppress these axd files?

If would be great if you could also provide a reference document or web references (If needed).

Many Thanks,

Author: Amit Mehra             
Posted Date: September 16, 2009     Points: 5   

HI Venkat,

You can make this .xsd file cached, you can add this lines to your web.config file and see the difference it will compress the script file and cached into the server.

To add scriptResourceHandler tag you need to place inside system.web.extensions tag for eg.


<scriptResourceHandler enableCompression="true" enableCaching="true" />


Please "Mark As Answer " if this post help you.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend