Skip to content

Conversation

@dholth
Copy link

@dholth dholth commented Mar 3, 2023

IMO locking is cleaner if the cached repodata.json is not touched unless the content is changed, e.g. not touched after a 304 Not Modified response. Instead, if refresh_ns is more than cache-control: max-age=n seconds ago (if the server provided that header), or the local_repodata_ttl in ~/.condarc, then it's time to do another remote request.

@dholth dholth changed the base branch from main to cep-repodata-state March 3, 2023 15:59
@dholth dholth force-pushed the cep-repodata-state branch from 9f5fbd1 to 18288b0 Compare September 7, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant