How solve 304 response - not modified?

How solve 304 response - not modified?

I am running the following script on the client-side and the script is failing to update, when there is change in the database. I debugged the script using DevTools and discovered my Jquery scripts are responding back as "304 not modified". Does this issue, indicate why the client-side content is failing to update.

Note: If you require server code for further reference, please do let me know.


if so, how can I resolve this issue. Please advice further. Many thanks.



  1. <script src="../Scripts/jquery-1.6.4.js"></script>
  2. <script src="../Scripts/jquery-1.6.4.min.js"></script>
  3. <script src="../Scripts/jquery.signalR-2.1.2.min.js"></script>
  4. <script src='<%: ResolveClientUrl("~/signalr/hubs") %>'></script>
  5. <script type="text/javascript">
  6. $(function () {
  7.     // Declare a proxy to reference the hub.
  8.     var notifications =   $.connection.NotificationHub; // Create a function that the hub can call to broadcast messages.
  9.     notifications.client.recieveNotification = function (role, descrip) {
  10.         // Add the message to the page. $('#spanNewMessages').text(role);
  11.         $('#spanNewCircles').text(descrip);
  12.     };
  13.     // Start the connection.
  14.     $.connection.hub.start().done(function () {
  15.         notifications.server.sendNotifications(); alert("Notifications have been sent.");
  16.     }).fail(function (e) {
  17.         alert(e);
  18.     });
  19.     //$.connection.hub.start();
  20. });
  21. </script>
  22. <h1>New Notifications</h1>
  23. <div>
  24.     <br /> <b>New <span id="spanNewMessages"></span> = role.</b>
  25.     <br /> <b>New <span id="spanNewCircles"></span> = descrip.</b>
  26.     <br />
  27. </div>