You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cdn/cdn-dynamic-site-acceleration.md
+13-17Lines changed: 13 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,13 @@
2
2
title: Dynamic site acceleration via Azure CDN
3
3
description: Azure CDN supports dynamic site acceleration (DSA) optimization for files with dynamic content.
4
4
services: cdn
5
-
documentationcenter: ''
6
5
author: duongau
7
-
manager: danielgi
8
-
editor: ''
9
-
10
-
ms.assetid:
6
+
manager: kumudd
11
7
ms.service: azure-cdn
12
8
ms.workload: tbd
13
9
ms.tgt_pltfrm: na
14
10
ms.topic: how-to
15
-
ms.date: 03/25/2019
11
+
ms.date: 02/27/2023
16
12
ms.author: duau
17
13
---
18
14
# Dynamic site acceleration via Azure CDN
@@ -85,11 +81,11 @@ The Akamai network uses techniques to collect real-time data and compare various
85
81
86
82
Similarly, the Verizon network uses a combination of Anycast DNS, high capacity support PoPs, and health checks, to determine the best gateways to best route data from the client to the origin.
87
83
88
-
As a result, fully dynamic and transactional content is delivered more quickly and more reliably to end users, even when it is uncacheable.
84
+
As a result, fully dynamic and transactional content is delivered more quickly and more reliably to end users, even when it's uncacheable.
89
85
90
86
### TCP Optimizations
91
87
92
-
Transmission Control Protocol (TCP) is the standard of the Internet protocol suite used to deliver information between applications on an IP network. By default, several back-and-forth requests are required to set up a TCP connection, as well as limits to avoid network congestions, which result in inefficiencies at scale. **Azure CDN from Akamai** handles this problem by optimizing in three areas:
88
+
Transmission Control Protocol (TCP) is the standard of the Internet protocol suite used to deliver information between applications on an IP network. By default, several back-and-forth requests are required to set up a TCP connection, and limits to avoid network congestions, which result in inefficiencies at scale. **Azure CDN from Akamai** handles this problem by optimizing in three areas:
@@ -109,31 +105,31 @@ TCP *slow start* is an algorithm of the TCP protocol that prevents network conge
109
105
110
106
#### Leveraging persistent connections
111
107
112
-
Using a CDN, fewer unique machines connect to your origin server directly compared with users connecting directly to your origin. Azure CDN also pools user requests together to establish fewer connections with the origin.
108
+
When you're using a CDN, fewer unique machines connect to your origin server directly compared with users connecting directly to your origin. Azure CDN also pools user requests together to establish fewer connections with the origin.
113
109
114
-
As previously mentioned, several handshake requests are required to establish a TCP connection. Persistent connections, which are implemented by the `Keep-Alive` HTTP header, reuse existing TCP connections for multiple HTTP requests to save round-trip times and speed up delivery.
110
+
As previously mentioned, several handshake requests are required to establish a TCP connection. Persistent connections, which get implemented by the `Keep-Alive` HTTP header, reuse existing TCP connections for multiple HTTP requests to save round-trip times and speed up delivery.
115
111
116
112
**Azure CDN from Verizon** also sends periodic keep-alive packets over the TCP connection to prevent an open connection from being closed.
117
113
118
114
#### Tuning TCP packet parameters
119
115
120
116
**Azure CDN from Akamai** tunes the parameters that govern server-to-server connections and reduces the amount of long-haul round trips required to retrieve content embedded in the site by using the following techniques:
121
117
122
-
- Increasing the initial congestion window so that more packets can be sent without waiting for an acknowledgement.
118
+
- Increasing the initial congestion window so that more packets can be sent without waiting for an acknowledgment.
123
119
- Decreasing the initial retransmit timeout so that a loss is detected, and retransmission occurs more quickly.
124
120
- Decreasing the minimum and maximum retransmit timeout to reduce the wait time before assuming packets were lost in transmission.
125
121
126
122
### Object prefetch (Azure CDN from Akamai only)
127
123
128
-
Most websites consist of an HTML page, which references various other resources such as images and scripts. Typically, when a client requests a webpage, the browser first downloads and parses the HTML object, and then makes additional requests to linked assets that are required to fully load the page.
124
+
Most websites consist of an HTML page, which references various other resources such as images and scripts. Typically, when a client requests a webpage, the browser first downloads and parses the HTML object, and then makes more requests to linked assets that are required to fully load the page.
129
125
130
-
*Prefetch* is a technique to retrieve images and scripts embedded in the HTML page while the HTML is served to the browser, and before the browser even makes these object requests.
126
+
*Prefetch* is a technique to retrieve images and scripts embedded in the HTML page while the HTML gets served to the browser, and before the browser even makes these object requests.
131
127
132
-
With the prefetch option turned on at the time when the CDN serves the HTML base page to the client’s browser, the CDN parses the HTML file and make additional requests for any linked resources and store it in its cache. When the client makes the requests for the linked assets, the CDN edge server already has the requested objects and can serve them immediately without a round trip to the origin. This optimization benefits both cacheable and non-cacheable content.
128
+
With the prefetch option turned on, the time when the CDN serves the HTML base page to the client’s browser, the CDN parses the HTML file and make more requests for any linked resources and store it in its cache. When the client makes the requests for the linked assets, the CDN edge server already has the requested objects and can serve them immediately without a round trip to the origin. This optimization benefits both cacheable and non-cacheable content.
133
129
134
130
### Adaptive image compression (Azure CDN from Akamai only)
135
131
136
-
Some devices, especially mobile ones, experience slower network speeds from time to time. In these scenarios, it is more beneficial for the user to receive smaller images in their webpage more quickly rather than waiting a long time for full resolution images.
132
+
Some devices, especially mobile ones, experience slower network speeds from time to time. In these scenarios, it's more beneficial for the user to receive smaller images in their webpage more quickly rather than waiting a long time for full resolution images.
137
133
138
134
This feature automatically monitors network quality, and employs standard JPEG compression methods when network speeds are slower to improve delivery time.
With DSA, caching is turned off by default on the CDN, even when the origin includes `Cache-Control` or `Expires` headers in the response. DSA is typically used for dynamic assets that should not be cached because they are unique to each client. Caching can break this behavior.
142
+
With DSA, caching is turned off by default on the CDN, even when the origin includes `Cache-Control` or `Expires` headers in the response. DSA is typically used for dynamic assets that shouldn't be cached because they're unique to each client. Caching can break this behavior.
147
143
148
-
If you have a website with a mix of static and dynamic assets, it is best to take a hybrid approach to get the best performance.
144
+
If you have a website with a mix of static and dynamic assets, it's best to take a hybrid approach to get the best performance.
149
145
150
146
For **Azure CDN Standard from Verizon** and **Azure CDN Standard from Akamai** profiles, you can turn on caching for specific DSA endpoints by using [caching rules](cdn-caching-rules.md).
0 commit comments