Skip to content

fix(api-page-builder): increase page size limit by implementing gzip compression #3839

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

Merged
merged 8 commits into from
Jan 23, 2024

Conversation

brunozoric
Copy link
Contributor

@brunozoric brunozoric commented Jan 23, 2024

Changes

This PR increases the page content limit to 3MB by using GZIP compression of the content. This is only for the JSON data of the page, images and videos are not in this limit.
We also increased request body max size to 10MB by default. Of course, users can increase the body limit even higher if necessary.

How Has This Been Tested?

Jest tests which create 3.2MB of page content.

@brunozoric brunozoric added this to the 5.38.5 milestone Jan 23, 2024
@brunozoric brunozoric self-assigned this Jan 23, 2024
@brunozoric brunozoric changed the base branch from next to dev January 23, 2024 10:09
@brunozoric brunozoric marked this pull request as ready for review January 23, 2024 10:09
@brunozoric brunozoric merged commit 4d6c4f3 into dev Jan 23, 2024
@brunozoric brunozoric deleted the fix/api-page-builder/increase-page-size-limit branch February 19, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants