To enable Image Optimization for your website, follow these steps to create an HTTP Pull zone in the 5centsCDN control panel
If you already have a pull zone set up for your website, you only need to configure the Image Optimization options as detailed below
1. Navigate to 5centsCDN Dashboard
2. Go to HTTP Pull
3. Click the green plus button
4. Zone Name/Alias: You can provide a name to identify the zone
5. Your Origin Server hostname: Add your origin server hostname here[https://mydomain.com:port]
7. Custom CNAMES: You can add a canonical name to hide 5centsCDN hostname
8. Image Optimization: Here, you can activate the image optimization for your file. The options are explained below
Enable this option and specify the optimized quality of the image
9. Auto WebP: Specify whether the WebP format should be automatically used if the request supports it (via the Accept header). Additionally, you can define the desired quality level for optimized WebP images
10. Auto AVIF: Specify whether AVIF format should be used automatically if the request accepts it(via Accept header). Define the quality index for this type
11. Auto PNG to JPG: Specifies whether a JPG image should be used automatically if the PNG image has bi-transparency
12. Asset Optimization: You can refer to this link for configuring the Asset optimization
13. Cache Settings: Select the necessary cache settings.
14. Origin IP Resolution: Origin IP resolution is used for whole site acceleration. You can refer to this KB
15. Edge Settings: You can enable the required Edge Settings
16. Origin Shield: Enable the shield server to protect your origin server from request overload
17. Security settings: You can enable different security settings. This is optional.
18. SSL: Enable the SSL to get HTTPS delivery. Also, choose Lets Encrypt SSL or Custom SSL if you have added CNAME.
19. Click “CREATE”
Congratulations, the settings are now configured. CDN delivery is enabled for your website, and image optimization is active. You can verify the performance by checking the CDN-enabled URL
If your website is on WordPress, you have the option to employ the 5centsCDN WP plugin to rewrite the source URLs of your site with CDN URLs. Click here