comparison src/http/ngx_http_cache.c @ 105:00bee6e7b485

nginx-0.0.1-2003-06-15-22:32:13 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Jun 2003 18:32:13 +0000
parents a059e1aa65d4
children b5be4b0448d3
comparison
equal deleted inserted replaced
104:7db96f59bc29 105:00bee6e7b485
1 1
2 2
3 /* 3 /*
4 * small file in malloc()ed memory, mmap()ed file, file descriptor only, 4 * small file in malloc()ed memory, mmap()ed file, file descriptor only,
5 * file access time only (to estimate can pages pages still be in memory), 5 * file access time only (to estimate could pages still be in memory),
6 * translated URI (ngx_http_index_hanlder), 6 * translated URI (ngx_http_index_hanlder),
7 * compiled script (ngx_http_ssi_filter). 7 * compiled script (ngx_http_ssi_filter).
8 */ 8 */
9 9
10 10
12 #define NGX_HTTP_CACHE_ENTRY_MMAPED 0x00000002 12 #define NGX_HTTP_CACHE_ENTRY_MMAPED 0x00000002
13 13
14 /* "/" -> "/index.html" in ngx_http_index_handler */ 14 /* "/" -> "/index.html" in ngx_http_index_handler */
15 #define NGX_HTTP_CACHE_ENTRY_URI 0x00000004 15 #define NGX_HTTP_CACHE_ENTRY_URI 0x00000004
16 16
17 /* complied script */ 17 /* 301 location "/dir" -> "dir/" in ngx_http_core_handler */
18
19 /* compiled script in ngx_http_ssi_filter */
18 #define NGX_HTTP_CACHE_ENTRY_SCRIPT 0x00000008 20 #define NGX_HTTP_CACHE_ENTRY_SCRIPT 0x00000008
19 21
20 #define NGX_HTTP_CACHE_FILTER_FLAGS 0xFFFF0000 22 #define NGX_HTTP_CACHE_FILTER_FLAGS 0xFFFF0000
21 23
22 24