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

Busting javascript cache #47

Closed
matcornic opened this issue May 30, 2017 · 0 comments
Closed

Busting javascript cache #47

matcornic opened this issue May 30, 2017 · 0 comments
Labels
Milestone

Comments

@matcornic
Copy link
Owner

As Javascript/css files are cached in browser, errors may occurs on the browser when Javascript has been updated on the server but not on the client.

In order to do that, a simple solution is to change the filename when file has changed.

https://discuss.gohugo.io/t/cache-busting-of-css-js/175

@matcornic matcornic added the bug label May 30, 2017
@matcornic matcornic added this to the 2.0.0 milestone Jul 31, 2017
matcornic added a commit that referenced this issue Jul 31, 2017
matcornic added a commit that referenced this issue Aug 20, 2017
gr1m0h pushed a commit to gr1m0h/hugo-theme-learn that referenced this issue Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant