|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<!-- EN-Revision: 15617 -->
|
|
|
+<!-- EN-Revision: 15740 -->
|
|
|
<!-- Reviewed: no -->
|
|
|
<sect1 id="zend.cache.backends">
|
|
|
<title>Zend_Cache Backends</title>
|
|
|
@@ -30,17 +30,17 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
- <entry><code>cache_dir</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>'/tmp/'</code></entry>
|
|
|
+ <entry><emphasis>cache_dir</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry><filename>'/tmp/'</filename></entry>
|
|
|
<entry>
|
|
|
Verzeichnis, in dem die Cache Dateien gespeichert werden
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>file_locking</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>true</code></entry>
|
|
|
+ <entry><emphasis>file_locking</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>TRUE</constant></entry>
|
|
|
<entry>
|
|
|
Ein- / Ausschalten von file_locking: kann die Beschädigung des Caches
|
|
|
unter schlechten Bedingungen verhindern, aber es hilft nicht bei
|
|
|
@@ -48,9 +48,9 @@
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>read_control</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>true</code></entry>
|
|
|
+ <entry><emphasis>read_control</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>TRUE</constant></entry>
|
|
|
<entry>
|
|
|
Ein- / Ausschalten von read_control: eingeschaltet wird ein
|
|
|
Kontrollschlüssel im Cache File inkludiert und dieser Schlüssel wird mit
|
|
|
@@ -58,9 +58,9 @@
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>read_control_type</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>'crc32'</code></entry>
|
|
|
+ <entry><emphasis>read_control_type</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry>'crc32'</entry>
|
|
|
<entry>
|
|
|
Typ der Schreibkontrolle (nur wenn read_control eingeschaltet ist).
|
|
|
Mögliche Werte sind : 'md5' (bestes, aber am Langsamsten), 'crc32'
|
|
|
@@ -70,9 +70,9 @@
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>hashed_directory_level</code></entry>
|
|
|
- <entry><code>int</code></entry>
|
|
|
- <entry><code>0</code></entry>
|
|
|
+ <entry><emphasis>hashed_directory_level</emphasis></entry>
|
|
|
+ <entry><type>Integer</type></entry>
|
|
|
+ <entry>0</entry>
|
|
|
<entry>
|
|
|
Level der gehashten Verzeichnis Struktur: 0 heißt "keine gehashte
|
|
|
Verzeichnis Strutur, 1 heißt "ein Level von Verzeichnissen", 2 heißt
|
|
|
@@ -83,17 +83,17 @@
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>hashed_directory_umask</code></entry>
|
|
|
- <entry><code>int</code></entry>
|
|
|
- <entry><code>0700</code></entry>
|
|
|
+ <entry><emphasis>hashed_directory_umask</emphasis></entry>
|
|
|
+ <entry><type>Integer</type></entry>
|
|
|
+ <entry>0700</entry>
|
|
|
<entry>
|
|
|
Umask für die gehashte Verzeichnis Struktur
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>file_name_prefix</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>'zend_cache'</code></entry>
|
|
|
+ <entry><emphasis>file_name_prefix</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry>'zend_cache'</entry>
|
|
|
<entry>
|
|
|
Präfix für Cache Dateien; man muss mit dieser Option sehr vorsichtig
|
|
|
umgehen, weil ein zu generischer Wert in einem System Cache
|
|
|
@@ -102,17 +102,17 @@
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>cache_file_umask</code></entry>
|
|
|
- <entry><code>int</code></entry>
|
|
|
- <entry><code>0700</code></entry>
|
|
|
+ <entry><emphasis>cache_file_umask</emphasis></entry>
|
|
|
+ <entry><type>Integer</type></entry>
|
|
|
+ <entry>0700</entry>
|
|
|
<entry>
|
|
|
umask nach Cache Dateien
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>metatadatas_array_max_size</code></entry>
|
|
|
- <entry><code>int</code></entry>
|
|
|
- <entry><code>100</code></entry>
|
|
|
+ <entry><emphasis>metatadatas_array_max_size</emphasis></entry>
|
|
|
+ <entry><type>Integer</type></entry>
|
|
|
+ <entry>100</entry>
|
|
|
<entry>
|
|
|
Interne maximale Größe für das Metadaten Array (dieser Wert sollte
|
|
|
nicht geändert werden außer man weiß was man macht)
|
|
|
@@ -143,17 +143,17 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
- <entry><code>cache_db_complete_path (mandatory)</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>null</code></entry>
|
|
|
+ <entry><emphasis>cache_db_complete_path (mandatory)</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry><constant>NULL</constant></entry>
|
|
|
<entry>
|
|
|
Der komplette Pfad (inklusive Dateiname) der SQLite Datenbank
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>automatic_vacuum_factor</code></entry>
|
|
|
- <entry><code>int</code></entry>
|
|
|
- <entry><code>10</code></entry>
|
|
|
+ <entry><emphasis>automatic_vacuum_factor</emphasis></entry>
|
|
|
+ <entry><type>Integer</type></entry>
|
|
|
+ <entry>10</entry>
|
|
|
<entry>
|
|
|
Deaktiviere / stelle den automatischen Vakuumprozess ein.
|
|
|
Der automatische Vakuumprozess defragmentiert die Datenbankdatei (und
|
|
|
@@ -197,14 +197,12 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
- <entry><code>servers</code></entry>
|
|
|
- <entry><code>array</code></entry>
|
|
|
+ <entry><emphasis>servers</emphasis></entry>
|
|
|
+ <entry><type>Array</type></entry>
|
|
|
<entry>
|
|
|
- <code>
|
|
|
- array(array('host' => 'localhost','port' => 11211, 'persistent' =>
|
|
|
+ array(array('host' => 'localhost','port' => 11211, 'persistent' =>
|
|
|
true, 'weight' => 1, 'timeout' => 5, 'retry_interval' => 15,
|
|
|
'status' => true, 'failure_callback' => '' ))
|
|
|
- </code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
Ein Array von Memcached Servern; jeder Memcached Server wird durch ein
|
|
|
@@ -220,17 +218,17 @@
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>compression</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>false</code></entry>
|
|
|
+ <entry><emphasis>compression</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>FALSE</constant></entry>
|
|
|
<entry>
|
|
|
true wenn on-the-fly Kompression verwendet werden soll
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>compatibility</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>false</code></entry>
|
|
|
+ <entry><emphasis>compatibility</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>FALSE</constant></entry>
|
|
|
<entry>
|
|
|
true wenn man den Compatibility Modus mit alten Memcache
|
|
|
Servern/Erweiterungen verwenden will
|
|
|
@@ -282,17 +280,17 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
- <entry><code>user</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>null</code></entry>
|
|
|
+ <entry><emphasis>user</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry><constant>NULL</constant></entry>
|
|
|
<entry>
|
|
|
xcache.admin.user, notwendig für die clean() Methode
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>password</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>null</code></entry>
|
|
|
+ <entry><emphasis>password</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry><constant>NULL</constant></entry>
|
|
|
<entry>
|
|
|
xcache.admin.pass (in offener Form, nicht MD5), notwendig für die
|
|
|
clean() Methode
|
|
|
@@ -312,7 +310,7 @@
|
|
|
</para>
|
|
|
<para>
|
|
|
Dieses Backend unterstützt Tags, aber nicht den
|
|
|
- <code>CLEANING_MODE_NOT_MATCHING_TAG</code> Löschmodus.
|
|
|
+ <constant>CLEANING_MODE_NOT_MATCHING_TAG</constant> Löschmodus.
|
|
|
</para>
|
|
|
<para>
|
|
|
Bei Definition dieses Backends muß ein Trennzeichen -- '-', '.', ' ', oder '_'
|
|
|
@@ -355,41 +353,41 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
- <entry><code>slow_backend</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>File</code></entry>
|
|
|
+ <entry><emphasis>slow_backend</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry>File</entry>
|
|
|
<entry>
|
|
|
Der "langsame" Backendname
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>fast_backend</code></entry>
|
|
|
- <entry><code>string</code></entry>
|
|
|
- <entry><code>Apc</code></entry>
|
|
|
+ <entry><emphasis>fast_backend</emphasis></entry>
|
|
|
+ <entry><type>String</type></entry>
|
|
|
+ <entry>Apc</entry>
|
|
|
<entry>
|
|
|
Der "schnelle" Backendname
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>slow_backend_options</code></entry>
|
|
|
- <entry><code>array</code></entry>
|
|
|
- <entry><code>array()</code></entry>
|
|
|
+ <entry><emphasis>slow_backend_options</emphasis></entry>
|
|
|
+ <entry><type>Array</type></entry>
|
|
|
+ <entry><methodname>array()</methodname></entry>
|
|
|
<entry>
|
|
|
Die "langsamen" Backendoptionen
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>fast_backend_options</code></entry>
|
|
|
- <entry><code>array</code></entry>
|
|
|
- <entry><code>array()</code></entry>
|
|
|
+ <entry><emphasis>fast_backend_options</emphasis></entry>
|
|
|
+ <entry><type>Array</type></entry>
|
|
|
+ <entry><methodname>array()</methodname></entry>
|
|
|
<entry>
|
|
|
Die "schnellen" Backendoptionen
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>slow_backend_custom_naming</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>false</code></entry>
|
|
|
+ <entry><emphasis>slow_backend_custom_naming</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>FALSE</constant></entry>
|
|
|
<entry>
|
|
|
Wenn true, wird das slow_backend Argument als kompletter Klassenname
|
|
|
verwendet; wenn false, wird das frontend Argument als Ende des
|
|
|
@@ -397,9 +395,9 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>fast_backend_custom_naming</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>false</code></entry>
|
|
|
+ <entry><emphasis>fast_backend_custom_naming</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>FALSE</constant></entry>
|
|
|
<entry>
|
|
|
Wenn true, wird das fast_backend Argument als kompletter Klassenname
|
|
|
verwendet; wenn false, wird das frontend Argument als Ende des
|
|
|
@@ -407,36 +405,36 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>slow_backend_autoload</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>false</code></entry>
|
|
|
+ <entry><emphasis>slow_backend_autoload</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>FALSE</constant></entry>
|
|
|
<entry>
|
|
|
Wenn true, wird kein require_once für das langsame Backend verwendet
|
|
|
(nur für eigene Backends nützlich)
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>fast_backend_autoload</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>false</code></entry>
|
|
|
+ <entry><emphasis>fast_backend_autoload</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>FALSE</constant></entry>
|
|
|
<entry>
|
|
|
Wenn true, wird kein require_once für das schnelle Backend verwendet
|
|
|
(nur für eigene Backends nützlich)
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>auto_refresh_fast_cache</code></entry>
|
|
|
- <entry><code>boolean</code></entry>
|
|
|
- <entry><code>true</code></entry>
|
|
|
+ <entry><emphasis>auto_refresh_fast_cache</emphasis></entry>
|
|
|
+ <entry><type>Boolean</type></entry>
|
|
|
+ <entry><constant>TRUE</constant></entry>
|
|
|
<entry>
|
|
|
Wenn true, wird der schnelle Cache automatisch refresht wenn ein Cache
|
|
|
Eintrag getroffen wird
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
- <entry><code>stats_update_factor</code></entry>
|
|
|
- <entry><code>integer</code></entry>
|
|
|
- <entry><code>10</code></entry>
|
|
|
+ <entry><emphasis>stats_update_factor</emphasis></entry>
|
|
|
+ <entry><type>Integer</type></entry>
|
|
|
+ <entry>10</entry>
|
|
|
<entry>
|
|
|
Ausschalten / Feintunen der Berechnung des Füll-Prozentsatzes des
|
|
|
schnellen Backends (wenn ein Eintrag in den Cache gespeichert wird,
|