Technical Note: Purging of specific cached content
Description
Scope
Solution
For [pattern_type], there are 3 choices:
For example, to delete all cached content from www.domain.com/path
For example, to delete all content from .com www sites
To verify the status of a purge request
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
