struct nginx_http_file_cache

Overview

HTTP server file caching settings More…

#include <conf_nginx.h>

struct nginx_http_file_cache {
    // fields

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

Detailed Documentation

HTTP server file caching settings

Fields

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

bool errors_enable

Do caching of file lookup errors