[Feature Request - StaticSite]: Can we make deploy...
# sst
d
[Feature Request - StaticSite]: Can we make deployment prefixes “optional”? https://github.com/serverless-stack/serverless-stack/issues/1323 In-place Deploys: (3mins - avg build time) In the past we have never really been concerned about true blue-green deploys and so our production deploys of our static sites would just use the aws cli to sync and remove orphans with each deploy. sst.StaticSite Deploys: (16mins - avg build time) Contrasting this to us now using 
sst.StaticSite
 and its use of 
deployid
 as a bucket prefix. This now means that the CloudFront distro needs to be updated (origin path) so that adds 6-15mins of replication/deploy time. Optional prefixes and us With optional prefixes, I would like to write a CDK construct that handles Cloudfront distro cutovers and true blue-green deploys. We would only do that for production, while dev deploys stay spicy fast. Even without this construct… one could at lease make the deploy prefixes optional for Prod only, again, keeping dev deploy fast.
@Frank @thdxr PR for this feature