Is it better to use Cache or CDN?

前端 未结 5 1624
忘掉有多难
忘掉有多难 2020-12-22 21:26

I was studying about browser performance when loading static files and this doubt has come.

Some people say that use CDN static files (i.e. Google Cod

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-22 21:50

    Above those experts quotes, the explanation are perfect to understand CDN tech and also cache I would just provide my personal experience, I had worked on the joomla virtuemart site and unfortunately it will not allow update new joomla and virtuemart version cause it was too much customised fields in product pages, so once the visitor up to 900/DAY and lots user could not put their items in their basket because each time to called lots js and ajax called for order items takes too much time

    After optimise the site, we decide to use CDN, then the performance is really getting good, along by record from gtmetrix, the first YSlow Score was 50% then after optimise + CDN it goes to 74%

    https://gtmetrix.com/reports/www.florihana.com/jWlY35im

    and from dashboard of CDN you could see which datacenter cost most and data charged most to get your improvement of marketing:

    But yes to configure CDN it has to be careful of purge time and be balancing numbers of resource CDN cause if it down some problem you need to figure out which resource CDN cause

    Hope this does help

提交回复
热议问题