- Apr 4, 2009
- 13,911
- 70,945
So, I´ll make this guide short to the point.
We all know that the image optimization Bunny Optimizer add-on at BunnyCDN costs $9.50 per month ($114/Year) per domain you use it on, it can be a bit expensive if you have like me 25 domains using their CDN (Would total $2850 per year) just for my image optimization, but I get the service for FREE, here´s how I do it.
I use ShortPixel AI, they have recently changed their CDN delivery operator to BunnyCDN, with that move, they are only charging for bandwidth (not per optimized image) nowadays, since BunnyCDN is doing the optimization for them with the BunnyCDN Optimzer, you can use their CDN pricing if you want, but cheap as I am, I use my account with BunnyCDN instead, price on ShortPixel $0.07´ish, price on BunnyCDN $0.01 in Europe and North America per GB.
Make a new zone in BunnyCDN name for example HOSTNAME "imgdomain.b-cdn.net" and ORIGIN URL "https://no-cdn.shortpixel.ai" and set the zone up.
Then go to your domains DNS setting with your DNS provider and make a CNAME "images.yourdomain.com" CNAME "images" to "imgdomain.b-cdn.net." and save.
Go back to your zone at BunnyCDN and add a custom hostname "images.yourdomain.com" to your zone, add a SSL and activate it.
In ShortPixel Settings under "Behavior" and "API URL" use the the API URL ""https://images.yourdomain.com/spai" that you just made in your BunnyCDN Custom Hostname, and save.
Make sure you use your API token from your ShortPixel account in the setting for the ShortPixel AI plugin to.
Their pricing on some pages and text´s are not fully updated yet, but it will be.
So, if your like me, having 25 domains at BunnyCDN, you just SAVED $2850 per year.
Ps. If I missed something/written something dumb in this small newbie guide, just call me an asshole in the thread and tell me to explain, I´m a dumb fck sometimes on friday nights, when I have my friend Captain Morgan over for a chat.
We all know that the image optimization Bunny Optimizer add-on at BunnyCDN costs $9.50 per month ($114/Year) per domain you use it on, it can be a bit expensive if you have like me 25 domains using their CDN (Would total $2850 per year) just for my image optimization, but I get the service for FREE, here´s how I do it.
I use ShortPixel AI, they have recently changed their CDN delivery operator to BunnyCDN, with that move, they are only charging for bandwidth (not per optimized image) nowadays, since BunnyCDN is doing the optimization for them with the BunnyCDN Optimzer, you can use their CDN pricing if you want, but cheap as I am, I use my account with BunnyCDN instead, price on ShortPixel $0.07´ish, price on BunnyCDN $0.01 in Europe and North America per GB.
Make a new zone in BunnyCDN name for example HOSTNAME "imgdomain.b-cdn.net" and ORIGIN URL "https://no-cdn.shortpixel.ai" and set the zone up.
Then go to your domains DNS setting with your DNS provider and make a CNAME "images.yourdomain.com" CNAME "images" to "imgdomain.b-cdn.net." and save.
Go back to your zone at BunnyCDN and add a custom hostname "images.yourdomain.com" to your zone, add a SSL and activate it.
In ShortPixel Settings under "Behavior" and "API URL" use the the API URL ""https://images.yourdomain.com/spai" that you just made in your BunnyCDN Custom Hostname, and save.
Make sure you use your API token from your ShortPixel account in the setting for the ShortPixel AI plugin to.
Their pricing on some pages and text´s are not fully updated yet, but it will be.
So, if your like me, having 25 domains at BunnyCDN, you just SAVED $2850 per year.
Ps. If I missed something/written something dumb in this small newbie guide, just call me an asshole in the thread and tell me to explain, I´m a dumb fck sometimes on friday nights, when I have my friend Captain Morgan over for a chat.
Last edited: