Skip to content

Cache busting #1254

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

Closed
nihaals opened this issue Jun 12, 2020 · 0 comments · Fixed by #1368
Closed

Cache busting #1254

nihaals opened this issue Jun 12, 2020 · 0 comments · Fixed by #1368

Comments

@nihaals
Copy link
Contributor

nihaals commented Jun 12, 2020

I don't know much about the JS ecosystem so I'm not sure if there's already a great tool for this, but it would be nice to have the option of having a hash file name for my assets, including any custom additional assets. This could also probably be extended to also minify the assets. This would all be done during mdbook build and would generate the hashes of all the assets, rename the file (being able to choose between <name>.<short_hash>.<ext> and <long_hash>.<ext> may be useful) and replace any references to the original assets in the generated HTML.

notriddle added a commit to notriddle/mdBook that referenced this issue Oct 28, 2020
notriddle added a commit to notriddle/mdBook that referenced this issue Oct 28, 2020
notriddle added a commit to notriddle/mdBook that referenced this issue Oct 28, 2020
notriddle added a commit to notriddle/mdBook that referenced this issue Oct 28, 2020
notriddle added a commit to notriddle/mdBook that referenced this issue Oct 28, 2020
notriddle added a commit to notriddle/mdBook that referenced this issue Feb 13, 2025
notriddle added a commit to notriddle/mdBook that referenced this issue Feb 13, 2025
notriddle added a commit to notriddle/mdBook that referenced this issue Feb 13, 2025
rik86189 pushed a commit to rik86189/mdBook that referenced this issue Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant