10.1. Limitation
- The cache won't store and won't deliver objects in these cases:
-
- - If the response is not a 200
- - If the response contains a Vary header
- - If the Content-Length + the headers size is greater than "max-object-size"
- - If the response is not cacheable
-
- - If the request is not a GET
- - If the HTTP version of the request is smaller than 1.1
- - If the request contains an Authorization header
-
- Caution!: For HAProxy version prior to 1.9, due to the limitation of the
- filters, it is not recommended to use the cache with other filters. Using them
- can cause undefined behavior if they modify the response (compression for
- example). For HAProxy 1.9 and greater, it is safe, for HTX proxies only (see
- "option http-use-htx" for details).