Page Speed Optimization Libraries
1.2.24.1
|
#include "apache_cache.h"
Public Member Functions | |
ApacheCache (const StringPiece &path, const ApacheConfig &config, ApacheRewriteDriverFactory *factory) | |
CacheInterface * | l1_cache () |
CacheInterface * | l2_cache () |
NamedLockManager * | lock_manager () |
void | RootInit () |
void | ChildInit () |
void | GlobalCleanup (MessageHandler *handler) |
only called in root process | |
Static Public Attributes | |
static const char | kFileCache [] |
static const char | kLruCache [] |
The ApacheCache encapsulates a cache-sharing model where a user specifies a file-cache path per virtual-host. With each file-cache object we keep a locking mechanism and an optional per-process LRUCache.