Skip to main content

[BUG] Image preview of linked image in markdown document doesn't refresh/update when changes/edits to the actual image are made

Completed

Comments

5 comments

  • Brett

    I haven't looked into this on my end yet, but it's likely that the webkit instance is caching resources. If you add ?2 to the end of the image name, e.g. (image.png?2) does it update for you?

    0
  • Tim Hansinger

    Hi Brett, yes, adding ?2 to the end of the name updates the preview of the file correctly.

    0
  • Brett

    All right, I'll have to look into whether the built-in web server can prevent caching. Thanks!

    0
  • Dave Snigier

    I'm encountering the same issue on the latest build with adding parameters working as a workaround.

    0
  • Fletcher Penney

    I changed the cache on the server down to 60 seconds.  Setting to 0 seems like overkill since the vast majority of the time, images on disk won't change.  Some people need to set the preview to refresh with every keystroke, which would mean loading un-cached images with every keystroke.  On the flip-side, reloading images from a local disk once a minute should not be overly burdensome on the CPU/disk.

     

    It seems unlikely that you would be editing an image multiple times within a 60 second period, but yet needing to rely on nvUltra's preview to see the changes that you have made to that image.

    0

Please sign in to leave a comment.

Powered by Zendesk