
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
serverless-api-compression
Advanced tools
Serverless plugin that enables/disables content compression setting in API Gateway
Serverless plugin that enables/disables content compression setting in API Gateway
Currently Serverless Framework does not support MinimumCompressionSize
settings.
Existing plugin serverless-content-encoding implementation is not optimal and causing "Too Many requests" error.
npm install --save-dev serverless-api-compression
Add plugin to your serverless.yml
config
plugins:
- serverless-api-compression
contentCompression
attribute to your custom
section custom:
contentCompression: 1024
contentCompression
value is a MinimumCompressionSize in bytes. Use 0
to enable compression for all responses.
Use null
or false
to disable it.
FAQs
Serverless plugin that enables/disables content compression setting in API Gateway
The npm package serverless-api-compression receives a total of 2,310 weekly downloads. As such, serverless-api-compression popularity was classified as popular.
We found that serverless-api-compression demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.