Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Cache Storage Functions
Collaboration diagram for Cache Storage Functions:

Functions

int cache_remove_url (cache_request_rec *cache, request_rec *r)
 
int cache_create_entity (cache_request_rec *cache, request_rec *r, apr_off_t size, apr_bucket_brigade *in)
 
int cache_select (cache_request_rec *cache, request_rec *r)
 
int cache_invalidate (cache_request_rec *cache, request_rec *r)
 
apr_status_t cache_generate_key_default (request_rec *r, apr_pool_t *p, const char **key)
 
void cache_accept_headers (cache_handle_t *h, request_rec *r, apr_table_t *top, apr_table_t *bottom, int revalidation)
 

Detailed Description

Function Documentation

void cache_accept_headers ( cache_handle_t h,
request_rec r,
apr_table_t top,
apr_table_t bottom,
int  revalidation 
)

Merge in cached headers into the response

Parameters
hcache_handle_t
rrequest_rec
topheaders to be applied
bottomheaders to be overwritten
revalidationtrue if revalidation is taking place
int cache_create_entity ( cache_request_rec cache,
request_rec r,
apr_off_t  size,
apr_bucket_brigade in 
)
apr_status_t cache_generate_key_default ( request_rec r,
apr_pool_t p,
const char **  key 
)
int cache_invalidate ( cache_request_rec cache,
request_rec r 
)

invalidate a specific URL entity in all caches

All cached entities for this URL are removed, usually in response to a POST/PUT or DELETE.

This function returns OK if at least one entity was found and removed, and DECLINED if no cached entities were removed.

Parameters
cachecache_request_rec
rrequest_rec
int cache_remove_url ( cache_request_rec cache,
request_rec r 
)

cache_storage.c

int cache_select ( cache_request_rec cache,
request_rec r 
)