{"action":"closed","issue":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/5438","repository_url":"https://api.github.com/repos/gohugoio/hugo","labels_url":"https://api.github.com/repos/gohugoio/hugo/issues/5438/labels{/name}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/5438/comments","events_url":"https://api.github.com/repos/gohugoio/hugo/issues/5438/events","html_url":"https://github.com/gohugoio/hugo/issues/5438","id":380346563,"node_id":"MDU6SXNzdWUzODAzNDY1NjM=","number":5438,"title":"Use time.Duration (10m) for maxAge in file cache","user":{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-13T17:44:39Z","updated_at":"2018-11-14T22:15:24Z","closed_at":"2018-11-14T22:15:24Z","author_association":"MEMBER","body":"The current:\r\n\r\n```toml\r\n[caches]\r\n[caches.getjson]\r\ndir = \":cacheDir\"\r\nmaxAge = -1\r\n[caches.getcsv]\r\ndir = \":cacheDir\"\r\nmaxAge = -1\r\n[caches.images]\r\ndir = \":resourceDir/_gen\"\r\nmaxAge = -1\r\n[caches.assets]\r\ndir = \":resourceDir/_gen\"\r\nmaxAge = -1\r\n```\r\n\r\n-1 means forever. I guess we should establish a good baseline for this before it's too late ...\r\n\r\nNote that the motivation for cache expire in the above is different:\r\n\r\n* getJSON / getCSV, handle potential changes in the source (and potentially also clean up unused)\r\n* images/assets: Clean up unused files\r\n\r\nThe current value is noted in seconds, but I would be happy to change that to something bigger if that makes sense. \r\n\r\nSuggest value(s) for the above?\r\n\r\n@moorereason @regisphilibert @onedrawingperday and gang"}}
{"actor":{"display_login":"bep"}}