ScriptResource.axd path is too long
here is my problem.
I develop web appl开发者_如何学Cications, and I use IIS to host them.
I also used the module ARR (application request routing) as a proxy for my server farm. The problem is the ARR cache the pages on disk. I have ScriptResource cached in the arr cache disk, and when I try to delete the access path is too long.
Is there a way to shorten the name of the script resources?
thank you
If you use ASP.NET 4.0 you can use CDN version of scripts and get additional benefits. Just set EnableCdn property of your script manager to true and your script links will look like this :
<script src="http://ajax.microsoft.com/ajax/4.0/1/WebForms.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/4.0/1/MicrosoftAjax.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/4.0/1/MicrosoftAjaxWebForms.js" type="text/javascript"></script>
精彩评论