Why use @Scripts.Render(“~/bundles/jquery”)

How does

@Scripts.Render("~/bundles/jquery")

differ from just referencing the script from html like this

<script src="https://stackoverflow.com/questions/12192646/~/bundles/jquery.js" type="text/javascript"></script>

Are there any performance gains?

2 Answers
2

Leave a Comment