-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce flag for enabling redirect cache
- Loading branch information
Chris Park
committed
Sep 15, 2023
1 parent
a86b5a9
commit 670a8e1
Showing
3 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
# Prerender in Fargate | ||
A construct to host [Prerender](https://github.com/prerender/prerender) in Fargate. | ||
|
||
A construct to host [Prerender](https://github.com/prerender/prerender) in Fargate. | ||
|
||
## Props | ||
- `prerenderName`: Name of the Prerender service | ||
- `domainName`: Domain name for Prerender | ||
- `vpcId`: VPC to host Prerender in | ||
- `bucketName`: Optional S3 bucket name | ||
- `expirationDays`: Optional days until items expire in bucket (default to 7 days) | ||
- `tokenList`: List of tokens to accept as authentication | ||
- `certificateArn`: Certificate arn to match the domain | ||
- `desiredInstanceCount`: Number of Prerender instances to run (default 1) | ||
- `maxInstanceCount`: Maximum number of Prerender instances to run (default 2) | ||
- `instanceCPU`: CPU to allocate to each instance (default 512) | ||
- `instanceMemory`: Amount of memory to allocate to each instance (default 1024) | ||
|
||
- `prerenderName`: Name of the Prerender service | ||
- `domainName`: Domain name for Prerender | ||
- `vpcId`: VPC to host Prerender in | ||
- `bucketName`: Optional S3 bucket name | ||
- `expirationDays`: Optional days until items expire in bucket (default to 7 days) | ||
- `tokenList`: List of tokens to accept as authentication | ||
- `certificateArn`: Certificate arn to match the domain | ||
- `desiredInstanceCount`: Number of Prerender instances to run (default 1) | ||
- `maxInstanceCount`: Maximum number of Prerender instances to run (default 2) | ||
- `instanceCPU`: CPU to allocate to each instance (default 512) | ||
- `instanceMemory`: Amount of memory to allocate to each instance (default 1024) | ||
- `enableRedirectCache`: Cache 301 and 302 responses, too (default false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters