I think I found the answer I am looking for here: Refreshing page automatically when viewport size change but I do not know how or where to put this:
window.onresize = function(event)
{
document.location.reload(true);
}
I am trying to accomplish the same thing as the OP where I need to force a refresh on screen rotate.
Any help is appreciated.
EDIT:
The script is not working or so it seems. When I rotate my tablet (android) the responsive images do not resize which they should if the browser is being refreshed. This leads me to believe it is not working.
EDIT 2:
My error, forgot to re-upload the changed file. It has been a long day and I just noticed that Filezilla still had the change file prompt on the screen! This is now working for me.
EDIT 3: NEW PROBLEM
Now that it is working, I noticed that when I scroll the page it forces a refresh again with every movement (scrolling down, not up) even though the viewport has not rotated. Why is this and is there a way to fix it? It appears not to affect my iPhone 4, only my Samsung tablet...
ADDED:
I figured out that it is when the browser tabs move off the viewable area of the page that it forces a refresh on the tablet. Is there a way to change this?
UPDATED: Appears to be a Chrome issue again.