Before we speak about the reasons why you need to use CDN, it is necessary to understand what CDN is.
So here we have two main reason to use CDN:
One of the reasons to use CDN is speed, especailly if your project is located on a shared hosting. By using CDN you will be able to decrease the website load times dramatically.
There are many hackers and malicious threats and therefore security becomes more and more important. CDN plays vital role here because hackers and other threats won’t be able to even reach your server.