Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: serve static assets through CDN #146

Open
chriscasto opened this issue Jun 26, 2023 · 0 comments
Open

feat: serve static assets through CDN #146

chriscasto opened this issue Jun 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chriscasto
Copy link

Both the public and partner sites contain static assets (images, etc) and generate additional static files (JS, CSS, HTML) during the build process. This static content should be served from a CDN rather than directly from the application instances. There are two ways to do this:

  1. Copy static assets over to an S3 bucket during build time
  2. Put a CDN in front of the application instances and cache requests on certain paths

The first option requires more changes, but makes it easier to keep a clean separation between static and dynamic content. The latter is easier, but requires making changes that could temporarily disrupt access to the sites while deployment is in progress.

@chriscasto chriscasto added the enhancement New feature or request label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant