joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.45k stars 423 forks source link

Bug: Old version of file is shown after browser navigation #255

Open dreua opened 6 years ago

dreua commented 6 years ago

Steps to reproduce this bug:

  1. Open a file with a link to an other (lokal) markdown file in grip and in the browser (e.g. grip readme.md -b
  2. Change the first file and save it (grip detects the change and updates the browser view)
  3. Click on the link to go to the other file
  4. Go back to the first file using your browsers "back" button.

Expected behavior: The browser shows the current version of the file, like it did before clicking the link. Actual behavior: The browser shows an older version of the file. (I guess the version of the time the page was loaded initially.)

Workaround: Refresh the page manually

(Firefox 57, Grip 4.4.0)

feinstaub commented 6 years ago

I can confirm this.