What are the advantages and disadvantages of using a content delivery network (CDN)? [closed]

StackOverflow https://stackoverflow.com/questions/2145277

  •  23-09-2019
  •  | 
  •  

문제

I was going through Best Practices for Speeding Up Your Web Site from developer site of Yahoo...

  • What are the advantages and disadvantages of using a content delivery network (CDN)?

  • When to use a CDN?

  • Is a CDN a performance booster?

도움이 되었습니까?

해결책

What are the advantages and disadvantages of using a content delivery network (CDN)?

  • The disadvantages may be that it costs money, and it adds a bit of complexity to your deployment procedures.

  • The main advantage is an increase in the speed with which the content is delivered to the users.

When to use a CDN?

  • It will be most effective when you have a popular public website with some type of static content (images, scripts, CSS, etc.).

Is a CDN a performance booster?

  • In general, yes. When a specific request is made by a user, the server closest to that user (in terms of the minimum number of nodes between the server and the user) is dynamically determined. This optimizes the speed with which the content is delivered to that user.

다른 팁

CSS 파일을 수정 하여이 문제를 해결할 수 있습니다. Developer Tools 및 "Inspect Element">> 드롭 다운 화살표를 마우스 오버하고 할 수있는 경우 클릭하십시오. 나는 크롬을 사용했고 나는 그것을 쉽게 식별하고 그것을 위해 CSS를 볼 수 있었다.

광산은 ".menu-horizontal a.dynamic-children.additional-background, .menu-horizontal span.dynamic-childrens span.additional-background"의 내 corev4.css에 나타났습니다.

나는 아래에서 굵게 묶은 패딩으로 연주했고, 나는 패딩을 증가시킴으로써 화살을 움직일 수 있었다.

.menu-horizontal a.dynamic-children span.additional-background, .menu-horizontal span.dynamic-children span.additional-background {
패딩 - 오른쪽 : 10px;
배경 이미지 : URL (/ _ 레이아웃 / 이미지 / 메뉴 - 다운 .gif);
배경 - 반복 : 아니오 - 반복;
배경 위치 : 오른쪽 센터;
}

님이 거기에 패딩을 가지고 있는지 확인하십시오. 또한 **padding-right: inherit**;andeand의 패딩을 바꾸려고 노력한 양의 패딩을주었습니다.

문제가 해결됩니다. 내 지시가 분명 해지기를 바랍니다. 그렇지 않으면 질문이 없으므로 질문을하십시오.

여기서 개념을 혼합하려는 의도 없이는 정확하지만 데이터베이스의 테이블과 유사합니다.

A 1-* C
B 1-* C
.

A와 B 사이의 많은 관계에 많은 많은 관계를 끊는 결과로 C를 볼 수 있습니다.

b의 각 행에 대해서만 1이고 1 행 C 만 존재할 수 있고 특정 행 (on c)은 나에게 1 행과 관련이있는 것만뿐만 아니라 따라서 A와 B의 고유 한 행의 각 쌍에 대해 *가 0 이상을 나타내므로 C 또는 NONE에만 1 행이 존재할 수 있습니다.

A CDN is a performance booster if a lot of content come from the CDN.

Normally you have two connections each time to get content for each domain so each item is a connection.

If you have content on a CDN from another domain you have more connections for your site and your site will load faster.

I normally use a CDN for JavaScript libraries and only if I trust the CDN and check the uptime from the CDN you want to use.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top