FortiCache
FortiCache allows a FortiGate with insufficient memory/disk space to run a cache service.
Abin_FTNT
Staff
Staff
Article Id 189646
Description
This article gives the command to purge specific cached content.

Scope
FortiCache OS v4.1 and above.

Solution
execute webcache delete [pattern_type] [pattern_string]

For [pattern_type], there are 3 choices:
1. Simple - a simple string following the pattern [domain_string]:[port_string]/[path_string]
2. Wildcard - a wild card match following the pattern [domain_wildcard]:[port_wildcard]/[path_wildcard]
3. regexp - a perl regular expression

For example, to delete all cached content from www.domain.com/path
execute webcache delete simple www.domain.com:80/path

For example, to delete all content from .com www sites
execute webcache delete wildcard www.*.com:*/*

To verify the status of a purge request
execute webcache delete status

Contributors