Will using free image hosting be a viable alternative to CDN?

Here is my situation: I have a personal website on my home desktop computer. I expect about 1000 visitors per day on my site. The problem is that my Internet connection is not very fast (download 20 Mbps, download 4 Mbps).

Most pages on my site have about 2 MB of images. I am going to upload these images to about 10 free image hosts and store direct links in the database. Whenever images need to be uploaded for my site, I have a PHP script redirect to one of 10 or so URLs and ensure that each URL receives equal hits.

Would this be a good way to solve bandwidth issues?

+3
source share
2 answers

As long as your images are not critical, that’s fine.

Just remember that you will rely on a third-party service that will serve your images. This means that if they change their policy regarding external linking to images or w / e, you may find that there are no images on your site. It would be a good idea to have a backup on your website and use a third-party company as your preferred server, using your local copy as a backup.

+3
source

CloudFlare - , , - . , , , DNS- . . , CDN. [/P >

0

Source: https://habr.com/ru/post/1751502/


All Articles