Skip to main content
Abin_FTNT
Staff
Staff
November 17, 2016

Technical Note: Purging of specific cached content

  • November 17, 2016
  • 0 replies
  • 1500 views
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

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!