Jump to content

Recommended Posts

Posted

Hi guys,

I'm using cloudflare as a CDN, does anyone use another CDN that I can recommend?

Posted

Lots of CDNs available but CloudFlare should do everything you need for a home media server quite well.

Posted

Hi friend, thanks for the reply.

I'm on the paid Cloudflare plan but they still let me down at night.

Which do you recommend?

Posted

There's not a lot a CDN will do for you with Emby except to cache your images.
CloudFlare does NOT do this by default unless you create a rule to do this.

Depending on the area you're users are logging in from a CDN can work against you and you could be far better off running your own reverse proxy for caching but it depends.

As an example as I was on Verizon with Fiber and had hundreds of mb of upload bandwidth so I ran my own reverse proxy for caching images.  That took the burden off Emby to deliver the graphics and made things SNAP.  Anyone on Verizon in my family never actually hit the internet when accessing my server as it was all handled by Verizon backbone.

Now I'm on Xfinity/Comcast (car took down a pole and Verizon would not re-run fiber as I was the last house on the line) with a crummy 18 mb upload bandwidth so anything I do to not serve graphics from my server is good.  I now use CloudFlare as a CDN and turned on image caching so when Emby apps or web browser view my library all the graphics are served by CF making it appear fast. With transcoding or direct play I can still serve up a couple of remote sessions but browsing is FAST.

So it DEPENDS and no right answer. But if your family/friends are getting to your server using the same provider you use then they aren't actually touching the "internet" and are on the ISP backbone so a reverse proxy is likely best assuming you have good upload bandwidth.

With that said, for commercial apps I've developed in the past including a few big systems I typically use https://www.akamai.com/
It's not really appropriate for an Emby system but more for a Netflix or Amazon Prime.  You will pay out the wallet big time for it as well.

CloudFlare should do what you need for Emby or consider nginx for self hosting.

Posted (edited)

Hi friend.

Thank you for all the teaching.

I have a doubt;

In cloudflare I use this to cache images:

.....com/emby/item/*/images/*

 


Is correct?

 

Edited by igeoorge
Posted
URL = *domain.ext/emby/item/*/images/* 
Cache Level = Cache Everything 
Edge Cache TTL = a month

and

URL = *domain.ext/*
Edge Cache TTL = a month

These are what I use.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...