struct nginx_http_file_cache

Overview

HTTP server file caching settings More…

#include <conf_nginx.h>

struct nginx_http_file_cache {
    // fields

    te_bool enable;
    unsigned int max_num;
    unsigned int inactive_time;
    unsigned int valid_time;
    te_bool errors_enable;
};

Detailed Documentation

HTTP server file caching settings

Fields

te_bool enable

Enable caching

unsigned int max_num

Maximum number of elements in the cache

unsigned int inactive_time

Time in seconds after which inactive cache entry will be removed

unsigned int valid_time

Time in seconds after which cache elements should be validated

te_bool errors_enable

Do caching of file lookup errors