imazen / imageflow-dotnet-server

A super-fast image server to speed up your site - deploy as a microservice, serverless, or embeddable.
https://docs.imageflow.io
GNU Affero General Public License v3.0
252 stars 33 forks source link

support other CDN? #8

Closed Gerwin-prog closed 4 years ago

Gerwin-prog commented 4 years ago

Hey,

I was wondering which CDN's you support Is there anything other than Azure BlobStorage & ImageFlowService.

Perhaps Cloudinary or Cloudflare? I know that there's a list on your website: Amazon CloudFront Azure CDN CDNConnect Turbobytes Akami MaxCDN NetDNA BitGravity Level3 Limelight Voxel

are all of these supported aswell?

Kind regards

lilith commented 4 years ago

Any CDN that allows for a custom origin server is compatible with Imageflow.Server.

Gerwin-prog commented 4 years ago

Oo - I like the sound of that, So I downloaded the example project, in it there's an Imageflow.Server.Storage.S3 project with the title

Imageflow.Server.Storage.S3 - Service for fetching source images from S3.

Is caching the images that are created to a CDN also possible with a 'default' implementation?

lilith commented 4 years ago

The S3 and Azure plugins are for fetching unmodified files from blob storage before they are processed. The processed files would be cached by the CDN which acts as a reverse proxy. No need to explicitly 'cache' to the CDN at all.

Gerwin-prog commented 4 years ago

That's exactly what we're after, Just to make sure I'm understanding this correctly. We just have to setup a server, put ImageFlow on there, and setup the CustomOriginServer in the customization steps of our CDN?

Thank you for your help thus far.

lilith commented 4 years ago

That's correct. Resizer-Cloud-Revised

Gerwin-prog commented 4 years ago

Perfect! Thank you for all your help!

Kind regards, Gerwin