Fortinet white logo
Fortinet white logo

Administration Guide

What can be cached?

What can be cached?

Caching generally works best with data that doesn't change. Things like static web pages, images, movies, and music all typically work well.

When content changes often, caching provides overhead by consuming RAM without its usual benefit of reduced latency. Some HTTP headers and other factors indicate dynamic content which FortiWeb will not cache.

FortiWeb will not cache responses if the request:

  • Contains the header:
    • Has fields such as Cache-Control: no-cache/no-store/; Pragma:no-cache

FortiWeb also will not cache if the response:

  • Has a Set-Cookie: field
  • Has a Vary: field
  • Has fields such as Cache-Control: no-cache/no-store/private; Pragma:no-cache; Cache-Control: max-age=0
  • Proxy-Authorization
  • Connection
  • Keep-Alive
  • Proxy-Authenticate
  • TE
  • Trailers
  • Transfer-Encoding
  • Upgrade

What can be cached?

What can be cached?

Caching generally works best with data that doesn't change. Things like static web pages, images, movies, and music all typically work well.

When content changes often, caching provides overhead by consuming RAM without its usual benefit of reduced latency. Some HTTP headers and other factors indicate dynamic content which FortiWeb will not cache.

FortiWeb will not cache responses if the request:

  • Contains the header:
    • Has fields such as Cache-Control: no-cache/no-store/; Pragma:no-cache

FortiWeb also will not cache if the response:

  • Has a Set-Cookie: field
  • Has a Vary: field
  • Has fields such as Cache-Control: no-cache/no-store/private; Pragma:no-cache; Cache-Control: max-age=0
  • Proxy-Authorization
  • Connection
  • Keep-Alive
  • Proxy-Authenticate
  • TE
  • Trailers
  • Transfer-Encoding
  • Upgrade