Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Look into chaching options of getJSON and getCSV #1

Closed
thombruce opened this issue Jan 12, 2019 · 0 comments
Closed

Look into chaching options of getJSON and getCSV #1

thombruce opened this issue Jan 12, 2019 · 0 comments

Comments

@thombruce
Copy link
Contributor

Currently loading the README for each theme and extension from GitHub API endpoint. Using GetJSON to do so.

The build for GitHub Pages by TravisCI appears to remain up to date (no cache), whereas my offline builds are not updating... I expect this means that the cache is, maybe, a comparison of page lastmod date to public file's last edited date. Unsure. Consider experiment: delete public folder and rebuild.

There is some chatter about cache refresh that started here: https://discourse.gohugo.io/t/configurable-cache-ttl-for-remote-content/10220/8

From which came this issue: gohugoio/hugo#5404 And this PR: gohugoio/hugo#5421

Looks like it was merged into v0.52.

Currently waiting on 0.54 for other issues on other site thombruce.gitlab.io where I'm relying on 0.47.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant