You can clone with
I'd like to avoid the "warming up" period when assets are being uploaded to S3.
Is there a way to invoke the upload on build time, so I can then just switch to another version of the app on production?
That's an interesting idea, but currently not supported.
@Almad have you found a resolution to this yet?
you could do this...
CDN = require('express-cdn')(app, options)
app.locals.CDN = CDN()
}, 5000) // 5 seconds
I've solved this by not using express-cdn, sorry.
@Almad what was your alternative solution?
@niftylettuce Custom script on top of raw aws-sdk. Sorry about that, but we kinda cannot wait for patch and developer decided it was more straightforward to implement it directly.