chef / chef-web-docs

All The Documentation
https://docs.chef.io
Other
131 stars 438 forks source link

Set age for cached remote resources #4202

Closed IanMadd closed 10 months ago

IanMadd commented 11 months ago

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

netlify[bot] commented 11 months ago

Deploy Preview for chef-web-docs ready!

Name Link
Latest commit eab94382efc96af7a344f29d6123ac1329723b15
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.

sonarcloud[bot] commented 10 months ago

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