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

Remove discovery on each load if Client is Already Cached #276

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

dshanske
Copy link
Member

@dshanske dshanske commented Aug 24, 2024

This removes the discovery on each client load, instead only doing it initially for each unique client ID. However, it starts storing a new meta key called last_modified, which can be used in the future to opt to refresh after a certain period of time. Right now, only manual refreshing is allowed.

Also fixes a loop in the discovery process.

…rt storing last modified date so we can refresh cache in future.
@dshanske dshanske requested a review from pfefferle August 24, 2024 04:32
@dshanske dshanske merged commit 53e2186 into indieweb:trunk Aug 26, 2024
7 checks passed
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