Enable Gzip Compress on Wordpress with WP-Cache 2.x Aktivieren Sie Gzip komprimieren auf Wordpress mit WP-Cache 2.x
WP-Cache is a page caching system plugin for WP-Cache ist eine Seite Caching-System-Plugin für Wordpress blog that cache Wordpress pages during the first load or after a page expired, and store each Wordpress page in a static HTML file which in turn used to serve future requests. Blog-Cache, dass Wordpress-Seiten während der ersten Belastung oder nach einer Seite abgelaufen, und speichern Sie jede Wordpress-Seite in eine statische HTML-Datei, die wiederum benutzt, um künftige Anträge. This process of web server serving the HTML pages directly from the file rather than building the page again by loading and compiling the whole PHP code, and retrieving the necessary data from the database where there is any page request significantly reduces the resource needed to run a responsive and fast website. Dieser Prozess der Web-Server dient der HTML-Seiten direkt aus der Datei, anstatt den Aufbau der Seite wieder durch Be-und Zusammenstellung der gesamten PHP-Code, und das Abrufen der erforderlichen Daten aus der Datenbank, wo es jeder Seite Antrag erheblich reduziert die Ressource erforderlich ist, damit ein reagieren und schnelle Website. Meanwhile, Gzip compression is an option provided by Wordpress that allows web server to serve the articles in compressed format if request by supported web browser, reducing bandwidth used and improving performance. Inzwischen, Gzip Kompression ist eine Option, die von Wordpress, mit dem Web-Server, um die Artikel in komprimierter Form, wenn Antrag unterstützten Web-Browser, Verringerung der Bandbreite verwendet und die Verbesserung der Leistung.
If you install WP-Cache version 2.0 or 2.1, you will be requested to turn off or disable Gzip compression in Options -> Reading tab. Wenn Sie installieren WP-Cache-Version 2.0 oder 2.1, werden Sie aufgefordert, deaktivieren oder deaktivieren Sie Gzip Kompression in Options -> Reading Registerkarte. Although WP-Cache2 is fast enough, however, you can still try to enable the Gzip compression to further speed up the web server, improve the overall performance of network and website, and save the network bandwidth, by using the following trick. Obwohl WP-Cache2 ist schnell genug, Sie können jedoch immer noch versuchen, damit die Gzip Kompression zur weiteren Beschleunigung der Web-Server, Verbesserung der Gesamtleistung der Netz-und Website, und speichern Sie die Netzwerk-Bandbreite, indem Sie die folgenden Trick. The hack allows Gzip compression to be used with WP-Cache system, by making WP-Cache compress the page articles, instead of Wordpress. Der Hack ermöglicht Gzip Kompression verwendet werden soll mit WP-Cache-System, indem WP-Cache komprimieren der Seite Artikel, anstelle von Wordpress.
To turn on Gzip compression of web page while using WP-Cache 2, simply edit the wp-cache-phase1.php which is located in the WP-Cache plug-in folder inside the Plugins directory with text editor such as vi: So schalten Sie Gzip-Komprimierung von Web-Seite, während mit WP-Cache 2, einfach bearbeiten Sie die wp-cache-phase1.php, die befindet sich in der WP-Cache-Plug-in-Ordner innerhalb des Plugin-Verzeichnis mit einem Text-Editor wie vi:
Add the following line: Fügen Sie die folgende Zeile ein:
if ( extension_loaded(’zlib’) ) ob_start(’ob_gzhandler’); if (extension_loaded ( 'zlib')) ob_start ( 'ob_gzhandler');
Before this line: Vor dieser Zeile:
foreach ($meta-»headers as $header) { foreach ($ Meta-»-Header als $ header) (
Note that you still should not turn on or enable the Gzip compress article in Wordpress. Beachten Sie, dass Sie nach wie vor sollte sich nicht einschalten oder aktivieren Sie die Gzip komprimieren Artikel in Wordpress. If you do so, WP-Cache will not work. Wenn Sie dies tun, WP-Cache wird nicht funktionieren.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. WICHTIG: Dies ist eine Maschine übersetzt, die Seite wird "as is" ohne Garantie. Machine translation may be difficult to understand. Maschinelle Übersetzung Mai nur schwer zu verstehen. Please refer to Bitte wenden Sie sich an original English article Original Englisch Artikel whenever possible. wann immer dies möglich ist.
Share and contribute or get technical support and help at Aktie und einen Beitrag oder erhalten technische Unterstützung und Hilfe bei My Digital Life Forums My Digital Life Foren .
Related Articles Verwandte Artikel
- Unzip or Decompress or Uncompress Gzip (.gz or .gzip) Files in Windows Entpacken Sie oder Dekomprimieren oder Dekomprimieren Gzip (. Gz oder. Gzip)-Dateien in Windows
- Run WordPress at Top Fast Speed by Putting Objects and Variables into XCache or eAccelerator Cache Memory (Plugin) Run auf WordPress Top Fast Speed durch Putting Objekte und Variablen in XCache oder eAccelerator Cache-Speicher (Plugin)
- Download WordPress 2.3 Release Candidate 1 (RC1) with Tags Support Download WordPress 2.3 Release Candidate 1 (RC1) mit Tags Support
- Download Previous or Old Version of WordPress Download zurück oder alte Version von WordPress
- WordPress WYSIWYG Visual Editor Not Working or Not Appearing WordPress WYSIWYG-Visual-Editor nicht funktioniert oder nicht angezeigt
- WordPress 2.1.1 Critical Security Alert - Download Upgrade to 2.1.2 WordPress 2.1.1 Critical Security Alert - Download Upgrade auf 2.1.2
- Integrate WordPress including Comments with bbPress Forum using bbSync Integrieren Sie WordPress einschließlich Kommentare mit bbPress Forum mit bbSync
- Hide or Disable Snap Preview Anywhere (SPA Site Preview) Bubble Pop Up Ausblenden oder deaktivieren Snap Preview Anywhere (SPA Site Preview) Bubble Pop Up
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Wie ändert man die Frequenz oder Intervall WordPress Auto spart ein Bearbeiten von Post oder die Seite
- Disable WordPress 2.3 Core and Plugins Update Check and Notification Deaktivieren WordPress 2.3 Core und Plugins Update überprüfen und Notifizierung

































September 20th, 2008 08:32 20. September 2008 08:32
Thanks this code edit really increased my page load time Dank diesem Code bearbeiten wirklich erhöht meiner Seite laden Ortszeit