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

feat(analytics-remote-config): remove idb #855

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

lewgordon-amplitude
Copy link

Summary

This is removing the use of IDB from remote config in favor of relying on browser caching to help support remote config fetching. There were definitely options to use IDB in other ways, but currently it's a bit broken when trying to support multiple namespaces. Rather than trying fix it, we'll see if just relying on the cache-control header and the browser cache to solve the problem.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

This is removing the use of IDB from remote config in favor of relying
on browser caching to help support remote config fetching. There were
definitely options to use IDB in other ways, but currently it's a bit
broken when trying to support multiple namespaces. Rather than trying
fix it, we'll see if just relying on the cache-control header and the
browser cache to solve the problem.
Copy link

@kwalker3690 kwalker3690 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there changes that need to be made on the service side to support the reading of session id?

@lewgordon-amplitude
Copy link
Author

Nope! It's already in place.

@lewgordon-amplitude lewgordon-amplitude merged commit d3799ad into v1.x Aug 23, 2024
3 checks passed
@lewgordon-amplitude lewgordon-amplitude deleted the AMP-107771 branch August 23, 2024 15:59
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.

2 participants