Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support omitting checksum when generated-file-name is provided #451

Open
vy opened this issue May 6, 2024 · 1 comment
Open

Support omitting checksum when generated-file-name is provided #451

vy opened this issue May 6, 2024 · 1 comment

Comments

@vy
Copy link

vy commented May 6, 2024

generated-file-name parameter is fixed with #48. Currently, [ditaa,foo] generates foo-cf699e6a13a1976b55764d80b6f9d508.png. It is pretty common that search engines and users link to these image files. Whenever I make a change in the diagram, the checksum will be updated, and the old filename will start giving 404s. Is it possible to exclude the -<checksum> part completely to avoid this? Or is there any other way to approach to this problem?

@ggrossetie
Copy link
Member

I think we need configuration (AsciiDoc attributes) to control how the extension caches/writes data on the disk. I will probably need to revisit my initial design since there are quite a few issues related to the "cache mechanism".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants