Fortinet black logo

CLI Reference

config webcache prefetch

config webcache prefetch

Configure cache prefetch.

config webcache prefetch
    Description: Configure cache prefetch.
    edit <name>
        set url {string}
        set crawl-depth {integer}
        set ignore-robots [enable|disable]
        set interval {integer}
        set start-delay {integer}
        set repeat {integer}
        set user {string}
        set password {password}
        set user-agent <name1>, <name2>, ...
    next
end

config webcache prefetch

Parameter

Description

Type

Size

Default

url

URL of the target.

string

Maximum length: 1023

crawl-depth

Depth to crawl the whole url.

integer

Minimum value: 0 Maximum value: 16

0

ignore-robots

Ignore robots.txt specification.

option

-

disable

Option

Description

enable

Ignore robots.txt config while crawling the url.

disable

Obey robots.txt config while crawling the url.

interval

Time interval (in seconds) to fetch the url.

integer

Minimum value: 0 Maximum value: 608400

43200

start-delay

Delay period to start the fetching (in secondss).

integer

Minimum value: 0 Maximum value: 2422800

0

repeat

How many times repeat to fetch the url .

integer

Minimum value: 0 Maximum value: 4294967295

0

user

Username for the Web resource.

string

Maximum length: 64

password

Password for the Web resource.

password

Not Specified

user-agent <name>

User agents can be used by this prefetch.

User agent.

string

Maximum length: 79

config webcache prefetch

Configure cache prefetch.

config webcache prefetch
    Description: Configure cache prefetch.
    edit <name>
        set url {string}
        set crawl-depth {integer}
        set ignore-robots [enable|disable]
        set interval {integer}
        set start-delay {integer}
        set repeat {integer}
        set user {string}
        set password {password}
        set user-agent <name1>, <name2>, ...
    next
end

config webcache prefetch

Parameter

Description

Type

Size

Default

url

URL of the target.

string

Maximum length: 1023

crawl-depth

Depth to crawl the whole url.

integer

Minimum value: 0 Maximum value: 16

0

ignore-robots

Ignore robots.txt specification.

option

-

disable

Option

Description

enable

Ignore robots.txt config while crawling the url.

disable

Obey robots.txt config while crawling the url.

interval

Time interval (in seconds) to fetch the url.

integer

Minimum value: 0 Maximum value: 608400

43200

start-delay

Delay period to start the fetching (in secondss).

integer

Minimum value: 0 Maximum value: 2422800

0

repeat

How many times repeat to fetch the url .

integer

Minimum value: 0 Maximum value: 4294967295

0

user

Username for the Web resource.

string

Maximum length: 64

password

Password for the Web resource.

password

Not Specified

user-agent <name>

User agents can be used by this prefetch.

User agent.

string

Maximum length: 79