Is there anyway to tell complier to reduce or merge those files ?
A batch of ScriptResource.axd requests like that are usually due to ASP.NET controls registering includes to the scripts that they're dependent on, especially scripts for the ASP.NET AJAX Control Toolkit controls.
If you want to merge those files without breaking your site, look into the ScriptManager's ability to combine multiple scripts into a single payload
IIS.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >
Contributor
3370 Points
1409 Posts
Re: reduce asp.net automatic javascript files (SEO problem)
Apr 23, 2020 03:26 AM|samwu|LINK
Hi eng_ahmed_taha,
A batch of ScriptResource.axd requests like that are usually due to ASP.NET controls registering includes to the scripts that they're dependent on, especially scripts for the ASP.NET AJAX Control Toolkit controls.
If you want to merge those files without breaking your site, look into the ScriptManager's ability to combine multiple scripts into a single payload
Combining Client Scripts into a Composite Script
Hope this can help you.
Best regards,
Sam