I would like to know if it's possible to clear CloudFront's cache,

The file concerned has changed on Amazon S3 but it's not being updated on CloudFront.

link|improve this question
More suitable for WepApps.SE. Migrating there. – studiohack Feb 17 '11 at 11:29
feedback

migrated from superuser.com Feb 17 '11 at 11:29

This question came from our site for computer enthusiasts and power users.

2 Answers

up vote 1 down vote accepted

I found the answer using Python:

import boto
cf = boto.connect_cloudfront('key','key2')
cf.create_invalidation_request("distribution_id", ["/path1","/path2"])
link|improve this answer
feedback

In case you use Chrome, you can use this plugin.

Disclaimer: I'm the author.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.