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

后端 未结 3 1579
南笙
南笙 2021-02-01 09:46

. Hi, 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 show

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 10:28

    WebResource.axd and ScriptResource.axd references are embedded resources in the .NET Framework. WebResource.axd scripts are probably for web forms and validation while ScriptResource.axd is for ASP.NET AJAX.

    You can combine the ScriptResource.axd scripts into one include by using the ToolkitScriptManager (part of the ASP.NET AJAX Control Toolkit).

    I'm not sure of a way to combine the WebResource.axd scripts.

    See this question for more on combining scripts.

提交回复
热议问题