003 File Manager
Current Path:
/usr/local/share/doc/apache24
usr
/
local
/
share
/
doc
/
apache24
/
π
..
π
BUILDING
(102 B)
π
LICENSE
(11.09 KB)
π
NOTICE
(721 B)
π
bind.html
(538 B)
π
bind.html.de
(15.28 KB)
π
bind.html.en
(15.19 KB)
π
bind.html.fr.utf8
(16.49 KB)
π
bind.html.ja.utf8
(14.34 KB)
π
bind.html.ko.euc-kr
(10.95 KB)
π
bind.html.tr.utf8
(16.21 KB)
π
caching.html
(292 B)
π
caching.html.en
(50.66 KB)
π
caching.html.fr.utf8
(56.43 KB)
π
caching.html.tr.utf8
(54.69 KB)
π
configuring.html
(580 B)
π
configuring.html.de
(16.71 KB)
π
configuring.html.en
(17.36 KB)
π
configuring.html.fr.utf8
(18.84 KB)
π
configuring.html.ja.utf8
(16.98 KB)
π
configuring.html.ko.euc-kr
(13.71 KB)
π
configuring.html.tr.utf8
(18.57 KB)
π
content-negotiation.html
(529 B)
π
content-negotiation.html.en
(33.75 KB)
π
content-negotiation.html.fr.utf8
(38.73 KB)
π
content-negotiation.html.ja.utf8
(40.97 KB)
π
content-negotiation.html.ko.euc-kr
(28.48 KB)
π
content-negotiation.html.tr.utf8
(37.08 KB)
π
convenience.map
(36.72 KB)
π
custom-error.html
(586 B)
π
custom-error.html.en
(13.58 KB)
π
custom-error.html.es
(13.3 KB)
π
custom-error.html.fr.utf8
(14.51 KB)
π
custom-error.html.ja.utf8
(13.21 KB)
π
custom-error.html.ko.euc-kr
(11.52 KB)
π
custom-error.html.tr.utf8
(14.17 KB)
π
developer
π
dns-caveats.html
(489 B)
π
dns-caveats.html.en
(12.37 KB)
π
dns-caveats.html.fr.utf8
(13.39 KB)
π
dns-caveats.html.ja.utf8
(17.37 KB)
π
dns-caveats.html.ko.euc-kr
(13.47 KB)
π
dns-caveats.html.tr.utf8
(12.79 KB)
π
dso.html
(449 B)
π
dso.html.en
(19.27 KB)
π
dso.html.fr.utf8
(22.21 KB)
π
dso.html.ja.utf8
(23.28 KB)
π
dso.html.ko.euc-kr
(16.59 KB)
π
dso.html.tr.utf8
(21.48 KB)
π
env.html
(449 B)
π
env.html.en
(30.62 KB)
π
env.html.fr.utf8
(33.06 KB)
π
env.html.ja.utf8
(30.56 KB)
π
env.html.ko.euc-kr
(22.14 KB)
π
env.html.tr.utf8
(32.71 KB)
π
expr.html
(199 B)
π
expr.html.en
(35.78 KB)
π
expr.html.fr.utf8
(38.22 KB)
π
faq
π
filter.html
(550 B)
π
filter.html.en
(14.84 KB)
π
filter.html.es
(17.28 KB)
π
filter.html.fr.utf8
(16.01 KB)
π
filter.html.ja.utf8
(9.23 KB)
π
filter.html.ko.euc-kr
(8.37 KB)
π
filter.html.tr.utf8
(16 KB)
π
getting-started.html
(316 B)
π
getting-started.html.en
(15.22 KB)
π
getting-started.html.fr.utf8
(17.18 KB)
π
getting-started.html.ru.utf8
(21.27 KB)
π
glossary.html
(650 B)
π
glossary.html.de
(34.8 KB)
π
glossary.html.en
(30.02 KB)
π
glossary.html.es
(31.97 KB)
π
glossary.html.fr.utf8
(34.01 KB)
π
glossary.html.ja.utf8
(32.03 KB)
π
glossary.html.ko.euc-kr
(20.88 KB)
π
glossary.html.tr.utf8
(33.11 KB)
π
handler.html
(649 B)
π
handler.html.en
(11.79 KB)
π
handler.html.es
(12.72 KB)
π
handler.html.fr.utf8
(12.6 KB)
π
handler.html.ja.utf8
(13.36 KB)
π
handler.html.ko.euc-kr
(11.35 KB)
π
handler.html.tr.utf8
(12.39 KB)
π
handler.html.zh-cn.utf8
(11.34 KB)
π
howto
π
images
π
index.html
(981 B)
π
index.html.da
(8.85 KB)
π
index.html.de
(9.28 KB)
π
index.html.en
(9.11 KB)
π
index.html.es
(9.75 KB)
π
index.html.fr.utf8
(9.47 KB)
π
index.html.ja.utf8
(9.55 KB)
π
index.html.ko.euc-kr
(8.23 KB)
π
index.html.pt-br
(9.26 KB)
π
index.html.ru.utf8
(10.41 KB)
π
index.html.tr.utf8
(9.34 KB)
π
index.html.zh-cn.utf8
(8.85 KB)
π
install.html
(643 B)
π
install.html.de
(25.56 KB)
π
install.html.en
(26.97 KB)
π
install.html.es
(29.38 KB)
π
install.html.fr.utf8
(29.42 KB)
π
install.html.ja.utf8
(27.58 KB)
π
install.html.ko.euc-kr
(19.83 KB)
π
install.html.tr.utf8
(29.06 KB)
π
invoking.html
(650 B)
π
invoking.html.de
(13.91 KB)
π
invoking.html.en
(12.55 KB)
π
invoking.html.es
(13.9 KB)
π
invoking.html.fr.utf8
(13.42 KB)
π
invoking.html.ja.utf8
(14.04 KB)
π
invoking.html.ko.euc-kr
(10.87 KB)
π
invoking.html.tr.utf8
(13.39 KB)
π
license.html
(118 B)
π
license.html.en
(15.49 KB)
π
logs.html
(454 B)
π
logs.html.en
(39.25 KB)
π
logs.html.fr.utf8
(44.5 KB)
π
logs.html.ja.utf8
(40.13 KB)
π
logs.html.ko.euc-kr
(29.03 KB)
π
logs.html.tr.utf8
(42.83 KB)
π
misc
π
mod
π
mpm.html
(704 B)
π
mpm.html.de
(11.13 KB)
π
mpm.html.en
(13.26 KB)
π
mpm.html.es
(10.46 KB)
π
mpm.html.fr.utf8
(14.37 KB)
π
mpm.html.ja.utf8
(11.7 KB)
π
mpm.html.ko.euc-kr
(9.77 KB)
π
mpm.html.tr.utf8
(14.19 KB)
π
mpm.html.zh-cn.utf8
(11.26 KB)
π
new_features_2_0.html
(712 B)
π
new_features_2_0.html.de
(17.67 KB)
π
new_features_2_0.html.en
(15.55 KB)
π
new_features_2_0.html.fr.utf8
(18.27 KB)
π
new_features_2_0.html.ja.utf8
(18.56 KB)
π
new_features_2_0.html.ko.euc-kr
(14.52 KB)
π
new_features_2_0.html.pt-br
(17.4 KB)
π
new_features_2_0.html.tr.utf8
(17.37 KB)
π
new_features_2_2.html
(520 B)
π
new_features_2_2.html.en
(18.58 KB)
π
new_features_2_2.html.fr.utf8
(20.73 KB)
π
new_features_2_2.html.ko.euc-kr
(9.46 KB)
π
new_features_2_2.html.pt-br
(10.81 KB)
π
new_features_2_2.html.tr.utf8
(20.42 KB)
π
new_features_2_4.html
(319 B)
π
new_features_2_4.html.en
(28.17 KB)
π
new_features_2_4.html.fr.utf8
(31.61 KB)
π
new_features_2_4.html.tr.utf8
(30.66 KB)
π
platform
π
programs
π
rewrite
π
sections.html
(474 B)
π
sections.html.en
(36.81 KB)
π
sections.html.fr.utf8
(40.83 KB)
π
sections.html.ja.utf8
(32.81 KB)
π
sections.html.ko.euc-kr
(25.12 KB)
π
sections.html.tr.utf8
(40.77 KB)
π
server-wide.html
(489 B)
π
server-wide.html.en
(11.88 KB)
π
server-wide.html.fr.utf8
(12.41 KB)
π
server-wide.html.ja.utf8
(12.02 KB)
π
server-wide.html.ko.euc-kr
(10.41 KB)
π
server-wide.html.tr.utf8
(12.4 KB)
π
sitemap.html
(736 B)
π
sitemap.html.de
(26.2 KB)
π
sitemap.html.en
(25.95 KB)
π
sitemap.html.es
(25.86 KB)
π
sitemap.html.fr.utf8
(27.01 KB)
π
sitemap.html.ja.utf8
(26.42 KB)
π
sitemap.html.ko.euc-kr
(23.11 KB)
π
sitemap.html.tr.utf8
(26.88 KB)
π
sitemap.html.zh-cn.utf8
(23.98 KB)
π
socache.html
(205 B)
π
socache.html.en
(9.54 KB)
π
socache.html.fr.utf8
(10.23 KB)
π
ssl
π
stopping.html
(650 B)
π
stopping.html.de
(19.53 KB)
π
stopping.html.en
(17.4 KB)
π
stopping.html.es
(19.32 KB)
π
stopping.html.fr.utf8
(19.67 KB)
π
stopping.html.ja.utf8
(19.98 KB)
π
stopping.html.ko.euc-kr
(14.67 KB)
π
stopping.html.tr.utf8
(19.55 KB)
π
style
π
suexec.html
(464 B)
π
suexec.html.en
(28.56 KB)
π
suexec.html.fr.utf8
(32.24 KB)
π
suexec.html.ja.utf8
(33.21 KB)
π
suexec.html.ko.euc-kr
(24.09 KB)
π
suexec.html.tr.utf8
(31.05 KB)
π
upgrading.html
(209 B)
π
upgrading.html.en
(29.98 KB)
π
upgrading.html.fr.utf8
(33.4 KB)
π
urlmapping.html
(484 B)
π
urlmapping.html.en
(26.02 KB)
π
urlmapping.html.fr.utf8
(28.39 KB)
π
urlmapping.html.ja.utf8
(25.7 KB)
π
urlmapping.html.ko.euc-kr
(19.33 KB)
π
urlmapping.html.tr.utf8
(27.96 KB)
π
vhosts
Editing: socache.html.en
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>Shared Object Cache in Apache HTTP Server - Apache HTTP Server Version 2.4</title> <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> <script src="./style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="./images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page" class="no-sidebar"><div id="page-header"> <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p> <p class="apache">Apache HTTP Server Version 2.4</p> <img alt="" src="./images/feather.png" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>Shared Object Cache in Apache HTTP Server</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="./en/socache.html" title="English"> en </a> | <a href="./fr/socache.html" hreflang="fr" rel="alternate" title="FranΓ§ais"> fr </a></p> </div> <p>The Shared Object Cache provides a means to share simple data across all a server's workers, regardless of <a href="mpm.html">thread and process models</a>. It is used where the advantages of sharing data across processes outweigh the performance overhead of inter-process communication.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="providers" id="providers">Shared Object Cache Providers</a></h2> <p>The shared object cache as such is an abstraction. Five different modules implement it. To use the cache, one or more of these modules must be present, and configured.</p> <p>The only configuration required is to select which cache provider to use. This is the responsibility of modules using the cache, and they enable selection using directives such as <code class="directive"><a href="./mod/mod_cache_socache.html#cachesocache">CacheSocache</a></code>, <code class="directive"><a href="./mod/mod_authn_socache.html#authncachesocache">AuthnCacheSOCache</a></code>, <code class="directive"><a href="./mod/mod_ssl.html#sslsessioncache">SSLSessionCache</a></code>, and <code class="directive"><a href="./mod/mod_ssl.html#sslstaplingcache">SSLStaplingCache</a></code>.</p> <p>Currently available providers are:</p> <dl> <dt>"dbm" (<code class="module"><a href="./mod/mod_socache_dbm.html">mod_socache_dbm</a></code>)</dt> <dd>This makes use of a DBM hash file. The choice of underlying DBM used may be configurable if the installed APR version supports multiple DBM implementations.</dd> <dt>"dc" (<code class="module"><a href="./mod/mod_socache_dc.html">mod_socache_dc</a></code>)</dt> <dd>This makes use of the <a href="http://distcache.sourceforge.net/">distcache</a> distributed session caching libraries.</dd> <dt>"memcache" (<code class="module"><a href="./mod/mod_socache_memcache.html">mod_socache_memcache</a></code>)</dt> <dd>This makes use of the <a href="http://memcached.org/">memcached</a> high-performance, distributed memory object caching system.</dd> <dt>"redis" (<code class="module"><a href="./mod/mod_socache_redis.html">mod_socache_redis</a></code>)</dt> <dd>This makes use of the <a href="http://redis.io/">Redis</a> high-performance, distributed memory object caching system.</dd> <dt>"shmcb" (<code class="module"><a href="./mod/mod_socache_shmcb.html">mod_socache_shmcb</a></code>)</dt> <dd>This makes use of a high-performance cyclic buffer inside a shared memory segment.</dd> </dl> <p>The API provides the following functions:</p> <dl> <dt>const char *create(ap_socache_instance_t **instance, const char *arg, apr_pool_t *tmp, apr_pool_t *p);</dt> <dd>Create a session cache based on the given configuration string. The instance pointer returned in the instance parameter will be passed as the first argument to subsequent invocations.</dd> <dt>apr_status_t init(ap_socache_instance_t *instance, const char *cname, const struct ap_socache_hints *hints, server_rec *s, apr_pool_t *pool)</dt> <dd>Initialize the cache. The cname must be of maximum length 16 characters, and uniquely identifies the consumer of the cache within the server; using the module name is recommended, e.g. "mod_ssl-sess". This string may be used within a filesystem path so use of only alphanumeric [a-z0-9_-] characters is recommended. If hints is non-NULL, it gives a set of hints for the provider. Return APR error code.</dd> <dt>void destroy(ap_socache_instance_t *instance, server_rec *s)</dt> <dd>Destroy a given cache instance object.</dd> <dt>apr_status_t store(ap_socache_instance_t *instance, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *data, unsigned int datalen, apr_pool_t *pool)</dt> <dd>Store an object in a cache instance.</dd> <dt>apr_status_t retrieve(ap_socache_instance_t *instance, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *data, unsigned int *datalen, apr_pool_t *pool)</dt> <dd>Retrieve a cached object.</dd> <dt>apr_status_t remove(ap_socache_instance_t *instance, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *pool)</dt> <dd>Remove an object from the cache.</dd> <dt>void status(ap_socache_instance_t *instance, request_rec *r, int flags)</dt> <dd>Dump the status of a cache instance for mod_status.</dd> <dt>apr_status_t iterate(ap_socache_instance_t *instance, server_rec *s, void *userctx, ap_socache_iterator_t *iterator, apr_pool_t *pool)</dt> <dd>Dump all cached objects through an iterator callback.</dd> </dl> </div></div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="./en/socache.html" title="English"> en </a> | <a href="./fr/socache.html" hreflang="fr" rel="alternate" title="FranΓ§ais"> fr </a></p> </div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our <a href="https://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/socache.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2021 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>
Upload File
Create Folder