-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Both the StaticSite and NuxtSSR components currently instantiate their own CloudFront distributions internally.
This design tightly couples CloudFront configuration with these components, limiting flexibility. As a result, it becomes non-trivial to add multiple origins to the same CloudFront distribution.
To resolve the above paint point, a dedicated CloudFront component should be created that will define a clear interface for configuring various options, such as origins, caching policies, etc., allowing multiple consumers to share a single distribution.
Key deliverables:
- Create standalone CloudFront component.
- Migrate provisioning logic currently inside
StaticSiteandNuxtSSRto the new component. - Support multiple origins and caching strategies.
- Implement integration tests.
- If applicable, use builder pattern for smoother creation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request