0
<script type="text/javascript" src="@Url.Content("~/Scripts/dataTablePlugins.js?" + Guid.NewGuid())"></script>

What is the point of the Guid.NewGuid() after .js?? Wouldn't that just send a random Guid into the script? Or what is the point? I don't see the javascript taking a parameter.

Note: I have just recently taken over an old project where this is used many places and I don't understand it. I'm not a javascript expert either. This is taken from a cshtml file in an asp.net MVC project

Halvard
  • 3,655
  • 6
  • 33
  • 49

0 Answers0