AlexCuse / SquishIt.S3

SquishIt integration with Amazon S3
8 stars 2 forks source link

Handle CloudFront Invalidation? #4

Closed AlexCuse closed 12 years ago

AlexCuse commented 12 years ago

Cloudfront doesn't support querystring invalidation currently.

Recommended workaround is to include the hash in the filename, but we can force an overwrite also. We should look to see if the bucket is associated with a cloudfront distribution and send an invalidation request. This should be done only when forcing overwrite though, as cloudfront invalidation requests get expensive.