I've implemented the StackExchange MiniProfiler on a ASP.NET WebForms page which already references v1.7.1 of jQuery. The jQuery file is hosted locally, so my masterfile looks like this:
<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<%= MiniProfiler.RenderIncludes() %>
However, when I view the source of the output generated, I get something similar to this
<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
...
load('/app/mini-profiler-resources/jquery.1.7.1.js?v=tNlJPuyuHLy/d5LQjyDuRbWKa0weCpmO3xkO6MH4TtA=', initMp);
</script>
Looking in the dev tools network tab, I can see that it's putting two requests in, one for Scripts/jquery-1.7.1.min.js
and another for /app/mini-profiler-resources/jquery.1.7.1.js
Isn't this a fairly major redundancy issue? How do I stop the MiniProfiler includes from requesting, downloading and parsing another copy of the jQuery library?