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:
- Has fields such as
Cache-Control: no-cache/no-store/
;Pragma:no-cache
- Contains the header:
Authorization
Proxy-Authorization
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
Proxy-Authenticate
TE
Trailers
Transfer-Encoding
Upgrade