Skip to content

Commit 0d5fe3d

Browse files
committed
addressing table issues
1 parent 891133e commit 0d5fe3d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

articles/cdn/cdn-verizon-premium-rules-engine-reference-features.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Name | Purpose
169169
### Age Response Header
170170

171171
**Purpose**: Determines whether an Age response header is included in the response sent to the requester.
172+
172173
Value|Result
173174
--|--
174175
Enabled | The Age response header is included in the response sent to the requester.
@@ -397,6 +398,7 @@ Option|Description
397398
--|--
398399
Original Path| Define the relative path to the types of requests whose cache-key is rewritten. A relative path can be defined by selecting a base origin path and then defining a regular expression pattern.
399400
New Path|Define the relative path for the new cache-key. A relative path can be defined by selecting a base origin path and then defining a regular expression pattern. This relative path can be dynamically constructed through the use of [HTTP variables](cdn-http-variables.md).
401+
400402
**Default Behavior:** A request's cache-key is determined by the request URI.
401403

402404
[Back to top](#azure-cdn-from-verizon-premium-rules-engine-features)
@@ -484,6 +486,7 @@ text/html| HTML files
484486
text/css|Cascading Style Sheets (CSS)
485487
application/x-javascript|Javascript
486488
application/javascript|Javascript
489+
487490
Key information:
488491

489492
- Specify multiple Internet media types by delimiting each one with a single space.
@@ -1080,6 +1083,7 @@ Value|Result
10801083
--|--
10811084
Enabled|Causes the POP to refetch the asset from the origin server.
10821085
Disabled|Restores the default behavior. The default behavior is to serve up valid cache assets upon request.
1086+
10831087
This feature is not required for correct caching and content delivery, but may be useful as a workaround. For example, dynamic content generators on origin servers can inadvertently result in 0-byte responses being sent to the POPs. These types of responses are typically cached by the POPs. If you know that a 0-byte response is never a valid response for such content, this feature can prevent these types of assets from being served to your clients.
10841088

10851089
**Default Behavior:** Disabled.
@@ -1311,6 +1315,7 @@ Option|Description
13111315
Code|Select the response code that will be returned to the requester.
13121316
Source & Pattern| These settings define a request URI pattern that identifies the type of requests that may be redirected. Only requests whose URL satisfies both of the following criteria will be redirected: <br/> <br/> **Source (or content access point):** Select a relative path that identifies an origin server. This path is the _/XXXX/_ section and your endpoint name. <br/><br/> **Source (pattern):** A pattern that identifies requests by relative path must be defined. This regular expression pattern must define a path that starts directly after the previously selected content access point (see above). <br/> - Ensure that the request URI criteria (that is, Source & Pattern) previously defined doesn't conflict with any match conditions defined for this feature. <br/> - Specify a pattern; if you use a blank value as the pattern, all strings are matched.
13131317
Destination| Define the URL to which the above requests will be redirected. <br/><br/> Dynamically construct this URL using: <br/> - A regular expression pattern <br/>- [HTTP variables](cdn-http-variables.md) <br/><br/> Substitute the values captured in the source pattern into the destination pattern using $_n_ where _n_ identifies a value by the order in which it was captured. For example, $1 represents the first value captured in the source pattern, while $2 represents the second value. <br/>
1318+
13141319
It is highly recommended to use an absolute URL. The use of a relative URL may redirect CDN URLs to an invalid path.
13151320

13161321
**Sample Scenario**
@@ -1358,6 +1363,7 @@ Option|Description
13581363
-|-
13591364
Source & Pattern | These settings define a request URI pattern that identifies the type of requests that may be rewritten. Only requests whose URL satisfies both of the following criteria will be rewritten: <br/><br/> - **Source (or content access point):** Select a relative path that identifies an origin server. This path is the _/XXXX/_ section and your endpoint name. <br/><br/> - **Source (pattern):** A pattern that identifies requests by relative path must be defined. This regular expression pattern must define a path that starts directly after the previously selected content access point (see above). <br/> Verify that the request URI criteria (that is, Source & Pattern) previously defined doesn't conflict with any of the match conditions defined for this feature. Specify a pattern; if you use a blank value as the pattern, all strings are matched.
13601365
Destination |Define the relative URL to which the above requests will be rewritten by: <br/> 1. Selecting a content access point that identifies an origin server. <br/> 2. Defining a relative path using: <br/> - A regular expression pattern <br/> - [HTTP variables](cdn-http-variables.md) <br/> <br/> Substitute the values captured in the source pattern into the destination pattern using $_n_ where _n_ identifies a value by the order in which it was captured. For example, $1 represents the first value captured in the source pattern, while $2 represents the second value.
1366+
13611367
This feature allows the POPs to rewrite the URL without performing a traditional redirect. That is, the requester receives the same response code as if the rewritten URL had been requested.
13621368

13631369
**Sample Scenario 1**

articles/cdn/cdn-verizon-premium-rules-engine-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Character | Description
5151
----------|------------
5252
\ | A backslash is used to escape any of the characters specified in this table. A backslash must be specified directly before the special character that should be escaped.<br/>For example, the following syntax escapes an asterisk: `\*`
5353
% | A percentage symbol is used to indicate URL encoding (for example, `%20`).
54-
* | An asterisk is a wildcard that represents one or more characters.
54+
\* | An asterisk is a wildcard that represents one or more characters.
5555
Space | A space character indicates that a match condition may be satisfied by either of the specified values or patterns.
5656
'value' | A single quote does not have special meaning. However, a set of single quotes is used to indicate that a value should be treated as a literal value. It can be used in the following ways:<br><br/>- It allows a match condition to be satisfied whenever the specified value matches any portion of the comparison value. For example, `'ma'` would match any of the following strings: <br/><br/>/business/**ma**rathon/asset.htm<br/>**ma**p.gif<br/>/business/template.**ma**p<br /><br />- It allows a special character to be specified as a literal character. For example, you may specify a literal space character by enclosing a space character within a set of single quotes (that is, `' '` or `'sample value'`).<br/>- It allows a blank value to be specified. Specify a blank value by specifying a set of single quotes (that is, '').<br /><br/>**Important:**<br/>- If the specified value does not contain a wildcard, then it is automatically considered a literal value, which means that it is not necessary to specify a set of single quotes.<br/>- If a backslash does not escape another character in this table, it is ignored when it is specified within a set of single quotes.<br/>- Another way to specify a special character as a literal character is to escape it using a backslash (that is, `\`).
5757

@@ -63,7 +63,7 @@ Special Character | Description
6363
------------------|------------
6464
\ | A backslash escapes the character the follows it, which causes that character to be treated as a literal value instead of taking on its regular expression meaning. For example, the following syntax escapes an asterisk: `\*`
6565
% | The meaning of a percentage symbol depends on its usage.<br/><br/> `%{HTTPVariable}`: This syntax identifies an HTTP variable.<br/>`%{HTTPVariable%Pattern}`: This syntax uses a percentage symbol to identify an HTTP variable and as a delimiter.<br />`\%`: Escaping a percentage symbol allows it to be used as a literal value or to indicate URL encoding (for example, `\%20`).
66-
* | An asterisk allows the preceding character to be matched zero or more times.
66+
\* | An asterisk allows the preceding character to be matched zero or more times.
6767
Space | A space character is typically treated as a literal character.
6868
'value' | Single quotes are treated as literal characters. A set of single quotes does not have special meaning.
6969

0 commit comments

Comments
 (0)