sst / ion

SST v3
https://sst.dev
MIT License
1.88k stars 221 forks source link

sst.aws.Router - Request invalidation feature as an option #501

Closed ruchernchong closed 1 month ago

ruchernchong commented 3 months ago

Invalidation right now are limited to the various JS frameworks like Next.js, Astro, Remix, etc...

It would be great if we could also have an CloudFront invalidation option for the sst.aws.Router as well.

thdxr commented 3 months ago

@frank maybe we expose this?

ruchernchong commented 2 months ago

@thdxr @fwang it has been awhile. Just checking in to see if this is a good suggestion and will be implemented down the road?

fwang commented 1 month ago

@ruchernchong In the next release, u can pass in invalidation: true or an object to customize the behavior.