newtheatre/history-project

View on GitHub
.s3deploy.yml

Summary

Maintainability
Test Coverage
routes:
  - route: "^openapi\\.(json)$"
    # Cache API content for a short period
    headers:
      Cache-Control: "max-age=30, public"
    # Gzip the content in s3 and serving
    gzip: false
  - route: "^.+\\.(json)$"
    # Cache API content for a short period
    headers:
      Cache-Control: "max-age=180, public"
    # Gzip the content in s3 and serving
    gzip: true