-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Use HTTP cache mechanisms for efficient cache update #11891
Comments
The only responses that gets cached are 200 and 404, which I think make sense in most situations. |
The file cache we use are relatively simple and we use the timestamps on the file to determine if it has expired. This works for that purpose, but I don't think it works for the above purpose. I suspect that an |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello,
First thanks a lot for your work on hugo!
I am using a lot of remote content for a hugo website and I ran into two cache issues:
For bandwidth efficiency and up to date HTTP resources, hugo could:
If this check took place after the current cache expiry system, it may not break any expected behavior?
Do you think this would be a helpful feature to add? If not I could try to do it within a function or partial.
Thanks for your time!
First proposed on discourse
The text was updated successfully, but these errors were encountered: