Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Unexpected key 'MetaUploader' found in params, How to invalidate a file (remove from cache)? #195

Open
playground opened this issue Dec 8, 2017 · 1 comment

Comments

@playground
Copy link

playground commented Dec 8, 2017

Would like to clear file from cache when uploading a new version of the file. How to? Still searching for documentation.

I have tried
MetaUploader: s3File

But keep getting
UnexpectedParameter: Unexpected key 'MetaUploader' found in params

@playground playground changed the title How to invalidate a file (remove from cache)? Unexpected key 'MetaUploader' found in params, How to invalidate a file (remove from cache)? Dec 8, 2017
@KaKi87
Copy link

KaKi87 commented Jan 26, 2021

+1, any news on this ?

How to invalidate a file (remove from cache)?

If you mean creating an invalidation from CloudFront, I'm looking for it too.

I found something in Amazon's docs but I'm wondering if this lib or another already implements that feature so I wouldn't have to send requests and parse XML stuff myself.

https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateInvalidation.html

Thanks !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants