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

Set age for cached remote resources #4202

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Set age for cached remote resources #4202

merged 3 commits into from
Nov 13, 2023

Conversation

IanMadd
Copy link
Contributor

@IanMadd IanMadd commented Nov 10, 2023

Description

This sets the maxage of remote resources, JSON or other file types, to 1 hour. That should save us from issues where an existing file is updated remotely but Hugo doesn't update the cached file locally.

Definition of Done

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussion that's relevant]

Related PRs

Check List

  • Spell Check
  • Local build
  • Examine the local build
  • All tests pass

@IanMadd IanMadd requested a review from a team as a code owner November 10, 2023 18:31
Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for chef-web-docs ready!

Name Link
🔨 Latest commit eab9438
🔍 Latest deploy log https://app.netlify.com/sites/chef-web-docs/deploys/655297e3552211000848eeed
😎 Deploy Preview https://deploy-preview-4202--chef-web-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Ian Maddaus <[email protected]>
@IanMadd IanMadd force-pushed the im/release_notes_remote branch from 4a97a90 to 7877a7e Compare November 10, 2023 21:10
Signed-off-by: Ian Maddaus <[email protected]>
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@IanMadd IanMadd merged commit 379a778 into main Nov 13, 2023
13 of 14 checks passed
@IanMadd IanMadd deleted the im/release_notes_remote branch November 13, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant