lejmr / dokuwiki-plugin-drawio

Draw.io plugin for DokuWiki
https://www.dokuwiki.org/plugin:drawio
GNU General Public License v2.0
25 stars 13 forks source link

disable caching for generated image #60

Closed Hecatron closed 11 months ago

Hecatron commented 1 year ago

Currently there's an issue whereby if you

After the initial save what will be shown is a dataurl, but after a refresh of the page what will be displayed is the old image. This is due to the browser thinking that the image hasn't changed / been updated.

I think normally there's a tok parameter returned with normal images which might prevent this. But we don't have that here. So adding "cache=nocache&" to the call to "/lib/exe/fetch.php" seems to be one workaround.

This might be related to https://github.com/lejmr/dokuwiki-plugin-drawio/issues/57

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.