The current image name that is generated does not take this 'view-key' into account. This means that all images that are generated in a page get the same name (and contents).
My suggestion would be to add the 'kroki_diagram_options' as an parameter to the _kroki_filename function and use that to calculate a unique digest.
With structurizr a single file can contain multiple views, which can be turned into multiple images, for example:
The current image name that is generated does not take this 'view-key' into account. This means that all images that are generated in a page get the same name (and contents).
My suggestion would be to add the 'kroki_diagram_options' as an parameter to the _kroki_filename function and use that to calculate a unique digest.
I created a PR that should fix this issue.