-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi :)
first: i love this package! great how easy it is to deploy a spa to s3/cloudfront and leveraging tiered TTLs on the go.
I just stumbled about an edge-case for the --delete option:
- A user downloads index.html (v1)
- spa gets deployed (v2) and (v1) gets deleted
- user's browser wants to download v1 linked resources
so this only affects users with a slow connection and only if (v1)-files are not in the cache in cloudfront.
possible solution: add a cli parameter to configure how long to wait before delete old files. Probably a default of 30s/60s should be enough to give slower clients enough time to download everything
Thanks for your work!
and again: i love this one :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels