mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
Parse a configuration section "cache" and a http-{response,request}
actions.
Example:
listen frt
mode http
http-response cache-store foobar
http-request cache-use foobar
cache foobar
total-max-size 4 # size in megabytes
13 lines
220 B
C
13 lines
220 B
C
#ifndef _TYPES_CACHE_H
|
|
#define _TYPES_CACHE_H
|
|
|
|
struct cache_obj {
|
|
int exp; /* expire time */
|
|
int etag; /* e-tag entry */
|
|
int last; /* last entry */
|
|
void *buf; /* ptr to buffer */
|
|
}
|
|
|
|
#endif /*_TYPES_CACHE_H */
|
|
|
|
|