I noticed that the loading of my aspx pages has been taking quite a bit of time and so I decided to debug the global.asax.cs file to see where the bottleneck was occurring. It appears that after my aspx (default.aspx) page hits the Application_AuthenticateRequest event, this event is then called again for every static file reference by the master page being utilized by the aspx page. E.g. request for css, js, and image files are being processed. I confirmed this by checking the HttpRequest.Path and each time after the aspx has been authenticated, these very same files show up in the HttpRequest.Path.
I have tried a solution mentioned in the following link, but I have not been able to rectify this issue.
Has anyone encountered this issue, and if so, how did you resolve it?