I'm using Local Storage (Filesystem / Drupal) for all the video and preview images on a site, if I add a new container for CloudFront will storage api automatically copy the files to the new container? Would this only change the newly uploaded files or would it update existing files too?

Comments

kevinquillen’s picture

I am wondering the same thing.

kevinquillen’s picture

I am wondering the same thing.

jbrown’s picture

When cron runs, Storage API attempts ensure that an instance of the file exists in every container that is in the class.

So, yes, adding a new container to a class will work retrospectively.

ghazlewood’s picture

Awesome! Just tried this and it works flawlessly. Should be in the docs! ;) Don't know why I didn't just try it and see what happened now...

ghazlewood’s picture

Status: Active » Fixed

Should have closed this ages ago...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.