Fortinet black logo

Handbook

Video caching

6.0.0
Copy Link
Copy Doc ID 4afb0436-a998-11e9-81a4-00505692583a:620872
Download PDF

Video caching

This config wanopt content-delivery-network-rule command configures web-caching including the video-cache matching rules.

To configure the wanopt content-delivery-network-rule

config wanopt content-delivery-network-rule

edit <content_rule_name>

set comment

set status

set host-domain-name-suffix

set category

set request-cache-control

set response-cache-control

set response-expires

set text-response-vcache

set updateserver

config rules

edit <rule_name>

set match-mode

set skip-rule-mode

config match-entries

edit <integer>

set target

set pattern

config skip-entries

set target

set pattern

config content id

set target

set start-str

set start-skip

set start-direction

set end-str

set end-skip

set end-direction

set range-str

Option Description
comment Comment about this rule
status Enable/disable WAN optimization content delivery network rules
host-domain-name-suffix Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com")
category Content delivery network rule category
request-cache-control Enable/disable HTTP request cache control
response-cache-control Enable/disable HTTP response cache control
response-expires Enable/disable HTTP response cache expires
updateserver Enable/disable update server
match-mode Match criteria for collecting content ID
skip-rule-mode Skip mode when evaluating skip rules
target Option in HTTP header or URL parameter to match
pattern Pattern string for matching target (Referrer or URL pattern, eg. "a", "a*c", "*a*", "a*c*e", and "*")
start-str String from which to start search
start-skip Number of characters in URL to skip after start-str has been matched
start-direction Search direction from start-str match
end-str String from which to end search
end-skip Number of characters in URL to skip after end-str has been matched
end-direction Search direction from end-str match
range-str Name of content ID within the start string and end string

Video caching

This config wanopt content-delivery-network-rule command configures web-caching including the video-cache matching rules.

To configure the wanopt content-delivery-network-rule

config wanopt content-delivery-network-rule

edit <content_rule_name>

set comment

set status

set host-domain-name-suffix

set category

set request-cache-control

set response-cache-control

set response-expires

set text-response-vcache

set updateserver

config rules

edit <rule_name>

set match-mode

set skip-rule-mode

config match-entries

edit <integer>

set target

set pattern

config skip-entries

set target

set pattern

config content id

set target

set start-str

set start-skip

set start-direction

set end-str

set end-skip

set end-direction

set range-str

Option Description
comment Comment about this rule
status Enable/disable WAN optimization content delivery network rules
host-domain-name-suffix Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com")
category Content delivery network rule category
request-cache-control Enable/disable HTTP request cache control
response-cache-control Enable/disable HTTP response cache control
response-expires Enable/disable HTTP response cache expires
updateserver Enable/disable update server
match-mode Match criteria for collecting content ID
skip-rule-mode Skip mode when evaluating skip rules
target Option in HTTP header or URL parameter to match
pattern Pattern string for matching target (Referrer or URL pattern, eg. "a", "a*c", "*a*", "a*c*e", and "*")
start-str String from which to start search
start-skip Number of characters in URL to skip after start-str has been matched
start-direction Search direction from start-str match
end-str String from which to end search
end-skip Number of characters in URL to skip after end-str has been matched
end-direction Search direction from end-str match
range-str Name of content ID within the start string and end string