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

[Next.js][FEaaS] Prevent extra components client-side requests for SSR #1541

Merged
merged 2 commits into from
Jun 27, 2023

Conversation

illiakovalenko
Copy link
Contributor

@illiakovalenko illiakovalenko commented Jun 27, 2023

Description / Motivation

Components SDK makes requests on the client-side to check for latest version. These extra requests are unnecessary for SSR.
We omit the last-modified attribute in the component and just give it the "template". It will not do the cache-busting behavior

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)

@illiakovalenko illiakovalenko requested a review from a team June 27, 2023 10:43
Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

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

Looks good. 👍🏼
This was not logged as a bug though.
Should this be a chore?

@illiakovalenko
Copy link
Contributor Author

@sc-addypathania Nope, not a chore, it's a fix still

@illiakovalenko illiakovalenko merged commit f72bee0 into dev Jun 27, 2023
@illiakovalenko illiakovalenko deleted the bugfix/586310 branch June 27, 2023 14:35
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