Open yannickvr opened 1 year ago
More great feedback! Thanks, @yannickvr.
Hi @huanjani ! Quick question: Is there a plan to add a feature for automatically deleting old files in the Static Site Service ? Using Angular as an example, we're ending up with a lot of unused hashed bundles after each deploy.
Thanks!
Using the Static Site Service, when I remove files from source, they are not removed from the destination.
Is this as designed, assuming files are never removed, only updated, or should this be a feature that's added to the roadmap?
The current state machine that handles the copy actions could be extended to delete files that do not exist in a manifest of files, so we don't have to scan S3 for objects that are not in the new source artifact.
E.g. current.manifest
new.manifest
compare of the two should initiate a delete of
myfile.html