Suggestions to host website images elsewhere and embed them

cassj

Newbie
Joined
Nov 23, 2015
Messages
18
Reaction score
6
Sorry for a potentially dumb question, but is anyone hosting their website images on a subdomain or a third party place and embedding them on the main site to improve site performance?
 
Sorry for a potentially dumb question, but is anyone hosting their website images on a subdomain or a third party place and embedding them on the main site to improve site performance?
My bad, how about a free CDN?
 
Yes, there are some wordpress cdn you can use like Bunny and Cloudinary.
 
Sorry for a potentially dumb question, but is anyone hosting their website images on a subdomain or a third party place and embedding them on the main site to improve site performance?
yes that's what I have always done. I don't store images or anything hypermedia in my wordpress media library. I host a static file server on a subdomain (static.mydomain.com and host all the images/files from there. Anything I need I just embed from the subdomain.

This workflow solves quite a few problems:
- your WordPress installs stay lean and you don't have to care about storage problems because of your media library growing too large on your WordPress host.
- in the future you can easily move to a paid CDN service, all you have to do is sync your file server's contents.
 
s3 + cloudfront is pretty cheap. If you're not already you might want to convert images to webp. Can use fallback to jpg/png if not supported, but most up to date browsers do.
 
Back
Top