0

I am using the jQuery Magnify plugin. The image doesn't rotate in Chrome unless I press Ctrl+F5.

After rotation I tried window.location.reload(true), random query string on JS files, using the following meta tags in the document:

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />

On click rotate button:

$.post("" + document.getElementById('site_url').value + "project_management/rotate_image", {
  src: $image[0].src, 
  angle: angle,
  direction: direction
}).done(function(data) {
  window.location.reload(true);
});

The image rotates on the backend but is not shown on the screen after reloading.

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339

1 Answers1

0

So Query string does the trick in Manigfy.Js Thanks you very much madalinivascu