I have recently encountered an issue with some of the javascript requests are hanging in the RequestAcquireState inside IIS worker process request listing grid. In the application, I am bundling the scripts and style sheets, with Cdn=True, EnableOptimization=True and Compilation debug = false in the hosts config.
Now, with CDN = true, I initially thought when using the below:
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\"></script>", "~/bundles/vendor/kendo/js")
The request will be made from the browser to CDN (https://www.jsdelivr.com/) in this case. However, it is hitting our host.
So just wandering the how Scripts.RenderFormat internally works?
Does it make a request via IIS to grab content from the CDN and then sends it to the browser?
Is Scripts.RenderFormat tying to access a session?
Any solution to these requests donot lock on RequestAcquireState state
Image from the IIS is attached below:
Click here to see IIS request log
Thanks