-
Notifications
You must be signed in to change notification settings - Fork 156
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
cachebuster the wrong way around? #32
Comments
Thanks for catching. Yes, I made a mistake in this commit: 6e2e423 |
Thanks :). With cachebusting turned on, I now get this:
|
Thanks! It looks like Even when it did exist, it appears it returned the time associated with the page, not the current time. So cachebuster would not have been working anyway. Possible solution is to make a pull request to hugo adding a "now" function that returns I'll disable cachebuster by default in |
Remove cachebuster until #32 is resolved.
dependent on hugo pr: gohugoio/hugo#2859 |
Done in 2e598e5. works for me with hugo 0.18. Related thread for future: https://discuss.gohugo.io/t/proposal-replace-page-now/4968 |
Setting
params.cachebuster
totrue
results in links like this:Setting it to
false
uses the unix timestamp as a query param, see here. This means clients will have to load the files again when the site is rebuilt. Isn't that supposed to be "cache busting"? Seems the wrong way around.The text was updated successfully, but these errors were encountered: