Skip to content

Commit

Permalink
issues/102: Support compression of API response (#173)
Browse files Browse the repository at this point in the history
* Enable payload compression

* Update changelog with issue

---------

Co-authored-by: Frank Greguska <89428916+frankinspace@users.noreply.github.com>
  • Loading branch information
nikki-t and frankinspace committed May 8, 2024
1 parent 232a460 commit fd57373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added
- Issue 102 - Enable compression for API Responses
- Issue 101 - Add support for HTTP Accept header
### Deprecated
### Removed
Expand Down
1 change: 1 addition & 0 deletions terraform/hydrocron-apigw.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ resource "aws_api_gateway_rest_api" "hydrocron-api-gateway" {
lifecycle {
prevent_destroy = true
}
minimum_compression_size = 20480
}

resource "aws_api_gateway_rest_api_policy" "hydrocron-api-gateway-policy" {
Expand Down

0 comments on commit fd57373

Please sign in to comment.