Just started on ASP.NET MVC and I noticed a strange behaviour on updating a javascipt.
_AppLayout.cshtml
<script src="@Url.Content("~/Content/bower_components/jquery/dist/jquery.js")"></script>
<script src="@Url.Content("~/Content/bower_components/bootstrap/dist/js/bootstrap.js")"></script>
<script src="@Url.Content("~/Content/bower_components/jquery-ui/jquery-ui.js")"></script>
<script src="@Url.Content("~/Content/scripts/app.js")"></script>
The @Url.Content
is working, but when I modify the app.js
the modification will only apply when I replace the script src=...
line. Why is that? Has ASP.NET some kind of cache? Which way will load the file without the modifications?
Edit Is it necessary to use bundles so the changes will apply? Regards