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

Icons stylesheet should not use query-string for hash #400

Open
yngvebn opened this issue May 31, 2022 · 0 comments
Open

Icons stylesheet should not use query-string for hash #400

yngvebn opened this issue May 31, 2022 · 0 comments

Comments

@yngvebn
Copy link

yngvebn commented May 31, 2022

Several browsers and loadbalancers cache fonts quite hard, and will often ignore queryparams, which means icons.ttf?164ae04e6a0d14accac65bfe1939c817 will often not cause the browser to reload the font-file. If icons are added, this will end up with wrong icons showing up in the UI.

The solution would be to add the hash to the filename itself, like so icons.164ae04e6a0d14accac65bfe1939c817.ttf

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

No branches or pull requests

1 participant