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

Add largeSegments cache in client-side storages #320

Merged
merged 4 commits into from
Jul 12, 2024

Conversation

EmilianoSanchez
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez commented Jul 10, 2024

JavaScript commons library

What did you accomplish?

  • Add largeSegments cache in client-side storages (InMemory and InLocal) reusing existing MySegment storages. For LocalStorage, it uses keys with the format ${prefix}.${userId}.largeSegment.${segmentName} to store the data.
  • Remove the unused KeyBuilderCS::buildOldSegmentNameKey method, originally defined for testing purposes.

How do we test the changes introduced in this PR?

Extra Notes

@EmilianoSanchez EmilianoSanchez marked this pull request as ready for review July 11, 2024 19:29
@EmilianoSanchez EmilianoSanchez requested a review from a team as a code owner July 11, 2024 19:29
Copy link

@javrudsky javrudsky left a comment

Choose a reason for hiding this comment

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

👍

@EmilianoSanchez EmilianoSanchez merged commit a33c306 into SDKS-8407_baseline Jul 12, 2024
1 check passed
@EmilianoSanchez EmilianoSanchez deleted the SDKS-8593_large_segments_storage branch July 12, 2024 19:06
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