Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 23 of 23) sorted by relevance

/lighttpd1.4/src/
H A Dmod_magnet_cache.c96 static script *script_cache_new_script(script_cache * const cache, const buffer * const name) in __attribute_nonnull__()
100 if (!(cache->used & (16-1))) in __attribute_nonnull__()
101 ck_realloc_u32((void **)&cache->ptr,cache->used,16,sizeof(*cache->ptr)); in __attribute_nonnull__()
102 cache->ptr[cache->used++] = sc; in __attribute_nonnull__()
110 script *script_cache_get_script(script_cache *cache, const buffer *name) in script_cache_get_script() argument
112 for (uint32_t i = 0; i < cache->used; ++i) { in script_cache_get_script()
113 script * const sc = cache->ptr[i]; in script_cache_get_script()
117 return script_cache_new_script(cache, name); in script_cache_get_script()
H A Dconfigfile-glue.c377 switch (cache->result) { in config_cond_result_trace()
391 cache->result = config_check_cond_nocache(r, dc, debug_cond, cache); in config_check_cond_nocache_calc()
393 return cache->result; in config_check_cond_nocache_calc()
398 if (COND_RESULT_UNSET != cache->result) { in config_check_cond_cached()
400 return cache->result; in config_check_cond_cached()
469 switch (cache->local_result) { in config_check_cond_nocache()
472 return cache->local_result; in config_check_cond_nocache()
478 return (cache->local_result = COND_RESULT_TRUE); in config_check_cond_nocache()
588 return cache->local_result; in config_check_cond_nocache_eval()
606 == (COND_RESULT_UNSET != cache->result in config_check_cond()
[all …]
H A Dmod_dirlisting.c94 const struct dirlist_cache *cache; member
214 cache->max_age = max_age; in mod_dirlisting_parse_cache()
215 cache->path = path; in mod_dirlisting_parse_cache()
216 return cache; in mod_dirlisting_parse_cache()
249 struct cond_match_t cache; in mod_dirlisting_exclude() local
250 memset(&cache, 0, sizeof(cache)); in mod_dirlisting_exclude()
253 ctx.cache = &cache; in mod_dirlisting_exclude()
337 pconf->cache = cpv->v.v; in mod_dirlisting_merge_config_cpv()
1350 if (p->conf.cache) { in URIHANDLER_FUNC()
1395 if (p->conf.cache) in URIHANDLER_FUNC()
[all …]
H A Dmod_magnet_cache.h31 void script_cache_free_data(script_cache *cache);
36 script *script_cache_get_script(script_cache *cache, const buffer *name);
H A Dkeyvalue.c199 const struct cond_match_t * const cache = ctx->cache; in pcre_keyvalue_buffer_append_ctxmatch() local
200 if (!cache) return; /* no enclosing match context */ in pcre_keyvalue_buffer_append_ctxmatch()
201 if (num < (unsigned int)cache->captures) { in pcre_keyvalue_buffer_append_ctxmatch()
203 const PCRE2_SIZE *ovec = (PCRE2_SIZE *)cache->matches; in pcre_keyvalue_buffer_append_ctxmatch()
205 const int *ovec = (int *)cache->matches; in pcre_keyvalue_buffer_append_ctxmatch()
209 burl_append(b, cache->comp_value->ptr + off, len, flags); in pcre_keyvalue_buffer_append_ctxmatch()
H A Dkeyvalue.h13 struct cond_match_t *cache; member
H A Dmod_redirect.c170 ctx.cache = NULL; in URIHANDLER_FUNC()
172 ctx.cache = r->cond_match[p->conf.redirect->x0 - 1]; in URIHANDLER_FUNC()
H A Dmod_rewrite.c292 ctx.cache = NULL; in process_rewrite_rules()
294 ctx.cache = r->cond_match[kvb->x0 - 1]; in process_rewrite_rules()
H A Dmod_maxminddb.c450 if (!pconf.cache) { /*(not implemented)*/ in REQUEST_FUNC()
H A Dmod_magnet.c52 script_cache cache; member
64 script_cache_free_data(&p->cache); in FREE_FUNC()
162 a[j] = script_cache_get_script(&p->cache, &ds->value); in SETDEFAULTS_FUNC()
H A DCMakeLists.txt18 option(WITH_XATTR "with xattr-support for the stat-cache [default: off]")
/lighttpd1.4/src/t/
H A Dtest_keyvalue.c47 cond_match_t cache; in test_keyvalue_pcre_keyvalue_buffer_process() local
64 ctx.cache = &cache; in test_keyvalue_pcre_keyvalue_buffer_process()
65 memset(&cache, 0, sizeof(cache)); in test_keyvalue_pcre_keyvalue_buffer_process()
66 cache.comp_value = authority; in test_keyvalue_pcre_keyvalue_buffer_process()
67 cache.captures = 2; in test_keyvalue_pcre_keyvalue_buffer_process()
77 cache.matches = matches; in test_keyvalue_pcre_keyvalue_buffer_process()
/lighttpd1.4/doc/outdated/
H A Dcompress.txt38 on a second request away. As soon as compress.cache-dir is set the files are
41 (You will need to create the cache directory if it doesn't already exist. The web server will not d…
43 The names of the cache files are made of the filename, the compression method
46 Cleaning the cache is left to the user. A cron job deleting files older than
49 find /var/www/cache -type f -mtime +10 | xargs -r rm
63 by hand in the cache directory.
75 compress.cache-dir
80 compress.cache-dir = "/var/www/cache/"
84 compress.cache-dir = "/var/www/cache/docs.example.org/"
H A Dperformance.txt67 to handle and also affects memory usage for the connection cache
124 * cache tuning
127 server.stat-cache-engine = "inotify" or server.stat-cache-engine = "kqueue"
129 - mod_auth: set auth.cache = ("max-age" => "600") to cache passwords (default
131 cache. (since lighttpd 1.4.56)
132 - mod_deflate: set deflate.cache-dir to cache (and reuse) compressed static
134 - mod_dirlisting: set dir-listing.cache = ( ... ) to configure caching of
H A Dproxy.txt45 a lot due to higher cache-locality. 'fair' is the normal
/lighttpd1.4/
H A D.gitignore19 autom4te.cache/
23 config.cache
H A DNEWS651 * [mod_userdir] use 2-element cache
1473 * [mod_deflate] deflate.cache-dir compressed cache
3402 * reset conditional cache (#1164)
3732 * fixed memleak in stat-cache
3750 * fixed memleak in stat-cache
3772 * added support for stat-cache via FAM
3954 * fixed file-cache
3958 * fixed file-cache
3974 * added a cache for mimetypes
3994 * enabled timestamp cache again
[all …]
H A Dmeson_options.txt135 description: 'with xattr-support for the stat-cache [default: off]',
H A Dconfigure.ac1768 lighty_track_feature "stat-cache-inotify" "" \
1776 lighty_track_feature "stat-cache-kqueue" "" \
1786 lighty_track_feature "stat-cache-fam" "" \
H A DSConstruct313 # cache configure checks
/lighttpd1.4/tests/
H A DREADME35 Use server.stat-cache-engine = "simple" (not server.stat-cache-engine = "fam")
H A Dlighttpd.conf228 deflate.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
/lighttpd1.4/scripts/m4/
H A Dax_prog_cc_for_build.m491 dnl AC_PROG_CC. Unset this cache variable temporarily as a workaround.