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

Creating user session token on-demand #4917

Merged
merged 12 commits into from Sep 28, 2020
Merged

Creating user session token on-demand #4917

merged 12 commits into from Sep 28, 2020

Conversation

andrzejewsky
Copy link
Contributor

@andrzejewsky andrzejewsky commented Sep 25, 2020

We used to create an anonymous token (user session) each time user visited the page which can end up with so many opened user sessions.

This PR introduces creating that token only on-demand when we really need to open user session eg. when we interact with the cart or user profile

┆Issue is synchronized with this Jira Story by Unito

@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2020

💙 vsf-next-demo successfully deployed at https://4472fa207af64dab237e1ba82bf8447505876df5.vsf-next-demo.preview.storefrontcloud.io

@andrzejewsky andrzejewsky marked this pull request as ready for review September 25, 2020 14:33
@andrzejewsky andrzejewsky added commercetools Next Issues/bugs for Vue Storefront Next labels Sep 25, 2020
Copy link
Collaborator

@filrak filrak left a comment

Choose a reason for hiding this comment

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

would e nice to mention about how it works in docs as well

packages/core/core/src/types.ts Outdated Show resolved Hide resolved
@andrzejewsky
Copy link
Contributor Author

Ref: #4927

@andrzejewsky andrzejewsky merged commit b5ef48d into next Sep 28, 2020
@filrak filrak deleted the user-session-token branch March 19, 2021 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commercetools Next Issues/bugs for Vue Storefront Next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants