Chapter 1 What’s New for FortiOS 5.0 : WAN optimization and Web Caching : Web proxy URL debugging : Debugging caching of multiple web pages
  
Debugging caching of multiple web pages
Use the following commands to get URL debugging output when any docs.fortinet.com and www.fortinet.com web page is cached. In this configuration, just the high-level URLs are added to the configuration and exact is set to disable:
config web-proxy debug-url
edit docs-url
set url-pattern “docs.fortinet.com”
set status enable
set exact disable
next
edit docs-url
set url-pattern “www.fortinet.com”
set status enable
set exact disable
next
end
Then enter the following commands to enable debugging:
diagnose debug application wad 0
diagnose wad debug-url enable
diagnose debug enable
The CLI then displays debug information as the wad application processes sessions, highlighting all connections to docs.fortinet.com and www.fortinet.com.