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

[sitecore-jss-nextjs] Reduce the amount of Edge API calls during fetch getStaticPaths #1612

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

addy-pathania
Copy link
Contributor

@addy-pathania addy-pathania commented Sep 15, 2023

  • Set default page size for the sitemap GraphQL request to 100

  • Switch from using a parallel approach (Promise.all) to a serial approach when fetching each language.

  • This PR follows the Contribution Guide

  • Changelog updated

Description / Motivation

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@addy-pathania addy-pathania requested a review from a team September 15, 2023 19:04
Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

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

👍

@ambrauer ambrauer merged commit fb32a11 into dev Sep 15, 2023
1 check passed
@ambrauer ambrauer deleted the feature/jss-668-reduce-edge-calls branch September 15, 2023 19:28
illiakovalenko added a commit that referenced this pull request Oct 12, 2023
@illiakovalenko illiakovalenko mentioned this pull request Oct 12, 2023
7 tasks
illiakovalenko added a commit that referenced this pull request Oct 12, 2023
* [sitecore-jss-nextjs] Reduce the amount of Edge API calls during fetch `getStaticPaths`  (#1612)

* [sitecore-jss][templates/nextjs][templates/nextjs-sxa] Handle rate limit errors in Layout and Dictionary Services through GraphQL Client

* Updated CHANGELOG
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