Expand my Community achievements bar.

Adobe io action payload and result size limit 1 mb

Avatar

Level 1

Hi All,

We are creating AEM project using react SPA and server side rendering. Is there a way to handle payload and response size limit of 1 mb (https://developer.adobe.com/runtime/docs/guides/using/system_settings/), I see an option to use gzip compression but don't know how to use it in our project.

 

If someone has any reference, it would be a great help.

 

Also I see in documentation(https://developer.adobe.com/runtime/docs/guides/) they say to read/write from s3 store, is there any documentation or example for how to do that.

 

Thanks

Nitin Kumar

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Employee

You can write to the file store and then return a presignedUrl to the content, this will likely make for slow responses though, you would be fetching, writing, redirecting essentially.

to gzip, use a lib like:

https://www.npmjs.com/package/node-gzip

 

ultimately Runtime actions ( and serverless in general ) is not well suited for SSR