N
N
ne_pes2019-04-12 05:36:23
CDN
ne_pes, 2019-04-12 05:36:23

Which is better to use CDN or local file storage?

Which is better to use CDN or local file storage? What are the pros and cons?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
bqio, 2019-04-12
@bqio

There is a CDN:
Script/style files are not stored on your physical. media, but they load more slowly than local files.
Script/style files are stored on your physical. media, but they load faster than via CDN.
Nowadays, there is so much compression (note UglifyJS ) that you will not feel the difference between CDN and local files.
In general, read this article: Distributing files via CDN

I
Ivan Shumov, 2019-04-12
@inoise

The CDN is only responsible for delivering the content, not storing it. Do not confuse sour with long. Perhaps you were talking about cloud storage?

O
Olga Baibakova, 2019-04-17
@baolya

CDN will be useful if the audience is geographically distributed and, for example, you want to remove the load from the source. Of the minuses - the cost and the need for customization.
The cost usually depends on traffic.
There are also free tariffs for small traffic packages.
You can test delivery with and without CDN with us: https://gcorelabs.com/
In addition to the 2-week trial for 300 GB, there is a free plan for 100 GB per month.
It should be enough to sort out “suitable or not suitable” :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question