ladjs/express-cdn

Purpose of CDN provider-specific modules?

mmay opened this issue · 1 comments

mmay commented

Hi,

Could you explain the purpose of having CDN provider-specific add-on modules listed here?

It looks like those modules don't do anything and that you can use the normal express-cdn module without specifically using CloudFront. e.g. see this MaxCDN blog about using express-cdn.

Just curious if there was intent to provider deeper integration with various CDN providers? If so, what would that look like?

Thanks

@mmay originally I was going to make this package very modular and lightweight, so you could plug in any CDN you wanted (as opposed to only using S3), but it's very hard to do without spending a lot of time in architecture. I'm accepting any PR's though! But I read that blog post and it makes sense to not even need CDN provider-specific add-ons.