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

Quota limit exceeded api.jsJSONStringLength Product-ProductWidgetData #96

Open
kerkenir opened this issue May 13, 2024 · 0 comments
Open

Comments

@kerkenir
Copy link

Hello,
Lately we were getting a warning that our SFCC website is exceeding the api.jsJSONStringLength quota limit, after analyzing the issue we found that Product-ProductWidgetData response is larger than 1Mo, because we have a long description on the product.
https://github.com/alma/sfcc-cartridge/blob/main/cartridges/int_alma/cartridge/controllers/Product.js#L40
So I'm wondering if we really need to return the product object in the response of Product-ProductWidgetData, and what is the impact of removing it ? (I didn't find any use of the product object in JS script in https://github.com/alma/sfcc-cartridge/blob/main/cartridges/int_alma/cartridge/templates/default/alma/widget.isml)
Thanks.

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

No branches or pull requests

1 participant