Change the path to WebResource.axd

We are using Akamai here, and I would like to know if there is a way to change the path to WebResource.axd so that we can cache the file on the Akamai network.

Does an ASP page automatically insert WebResource.axd into our pages? d = 9MSi9kc8rKZ-yU_r-9KIXg2 & t = 633595228754539605. I would like to change the URL to another.

WebResource.axd loads javascript file WebUIValidation.js

Or ... maybe suppress the webresource.axd file and load the file manually.

Thanks!

+3
source share
2 answers

, ASP.NET WebResource.axd. - WebResource.axd url.

0

?

void Application_Start(object sender, EventArgs e)
{
    RegisterRoutes(RouteTable.Routes);       
}

void RegisterRoutes(RouteCollection routes)
{
    routes.MapPageRoute("WebResource", "WebResource.axd", "~/WebResource.axd");
    routes.MapPageRoute("ScriptResource", "ScriptResource.axd", "~/ScriptResource.axd");
}
-1

Source: https://habr.com/ru/post/1712254/


All Articles