-
Notifications
You must be signed in to change notification settings - Fork 279
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
Performance improvements for personalize service and middleware #1218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have a test case which validates that when cache timeout is finished it should return expected data from the API
Like here: https://github.com/Sitecore/jss/blob/dev/packages/sitecore-jss/src/i18n/rest-dictionary-service.test.ts#L87-L142
Otherwise looks good 👍
packages/sitecore-jss/src/personalize/graphql-personalize-service.ts
Outdated
Show resolved
Hide resolved
packages/sitecore-jss/src/personalize/graphql-personalize-service.ts
Outdated
Show resolved
Hide resolved
packages/sitecore-jss/src/personalize/graphql-personalize-service.ts
Outdated
Show resolved
Hide resolved
packages/sitecore-jss/src/personalize/graphql-personalize-service.ts
Outdated
Show resolved
Hide resolved
…ice.ts Co-authored-by: Adam Brauer <400763+ambrauer@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments below, but in general looks good
packages/sitecore-jss/src/personalize/graphql-personalize-service.test.ts
Outdated
Show resolved
Hide resolved
packages/sitecore-jss/src/personalize/graphql-personalize-service.test.ts
Outdated
Show resolved
Hide resolved
packages/sitecore-jss/src/personalize/graphql-personalize-service.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Description / Motivation
Types of changes