From 2eaab59c48fda65fdc60e06faad23f8e4b6bde0c Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Wed, 8 Mar 2023 16:54:49 +0000 Subject: [PATCH] Docs: add note about API Gateway integration --- docs/install.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/install.md b/docs/install.md index ec703b96..f1e9a184 100644 --- a/docs/install.md +++ b/docs/install.md @@ -246,6 +246,9 @@ SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --arch=x64 --platform=linux --libc=gli To get the best performance select the largest memory available. A 1536 MB function provides ~12x more CPU time than a 128 MB function. +When integrating with AWS API Gateway, ensure it is configured with the relevant +[binary media types](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings.html). + ## Bundlers ### webpack