Skip to content

Commit 9857cba

Browse files
committed
readme: how to invalidate cdn cache
1 parent e047601 commit 9857cba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Deployments are automatically performed on GitHub Actions on `master` branch aft
1212
- App Runner (deprecated): [arn:aws:apprunner:us-west-2:005216166247:service/rko-router/2c9219ae5e14411baaf46fa932f33025](https://us-west-2.console.aws.amazon.com/apprunner/home?region=us-west-2#/services/dashboard?service_arn=arn%3Aaws%3Aapprunner%3Aus-west-2%3A005216166247%3Aservice%2Frko-router%2F2c9219ae5e14411baaf46fa932f33025&active_tab=logs)
1313
- CloudFront: [arn:aws:cloudfront::005216166247:distribution/E2WEWQCYU12GVD](https://us-east-1.console.aws.amazon.com/cloudfront/v3/home?region=ap-northeast-1#/distributions/E2WEWQCYU12GVD)
1414

15-
All resources except deployment is managed under Terraform (`./tf`).
15+
All resources except deployment is managed under Terraform [./tf](./tf).
1616

1717
### Domains
1818

@@ -22,6 +22,12 @@ Due to the quota of custom domains per App Runner service and the lambda functio
2222

2323
These custom headers are assigned at CloudFront function (viewer-request) and implementation is at [./tf/cf_functions/src/viewreq.ts](./tf/cf_functions/src/viewreq.ts).
2424

25+
### Cache invalidation
26+
27+
While rubykaigi.org deployment automatically invalidates CloudFront cache on each deployment, rko-router does not.
28+
29+
You need to manually invalidate the cache: https://rubykaigi.esa.io/posts/1241#%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5
30+
2531
## Run locally
2632

2733
```

0 commit comments

Comments
 (0)