Title: WP-Compress-HTML
Author: mandar-marathe
Published: <strong>16. Mai 2008</strong>
Last modified: 22. Januar 2012

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

![](https://s.w.org/plugins/geopattern-icon/wp-compress-html.svg)

# WP-Compress-HTML

 Von [mandar-marathe](https://profiles.wordpress.org/mandar-marathe/)

[Herunterladen](https://downloads.wordpress.org/plugin/wp-compress-html.zip)

 * [Details](https://de.wordpress.org/plugins/wp-compress-html/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/wp-compress-html/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/wp-compress-html/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/wp-compress-html/#developers)

 [Support](https://wordpress.org/support/plugin/wp-compress-html/)

## Beschreibung

Coders like to use spaces, carriage returns, new lines, tabs and indentation to 
make their HTML documents human-readable. This helps collaboration and debugging
of the HTML document. However, all these features add to the filesize of the resultant
HTML document. This structural information is totally ignored by browsers.

This plugin removes spaces, carriage returns, new lines and tabs from your HTML 
document. You can therefore freely use these features while writing HTML, safe in
the knowledge that it will not bloat the final HTML document.

With this plugin you can also mark areas of your HTML template where you want to
preserve white space – for example – in areas containing Javascript which needs 
carriage returns and new lines to function correctly.

HTML comments are not affected by this plugin.

## Installation

 1. Download the plugin.
 2. Extract the wp_compress_html.php file and upload to the ‚/wp-content/plugins/‘ 
    directory.
 3. Activate the plugin through the ‚Plugins‘ menu in WordPress.
 4. If there are areas which you do NOT want compression to be applied, simply enclose
    each area with a pair of <!–wp-compress-html–> tags. Drop in a <!–wp-compress-html
    no compression–> tag within each area marked in this way to tell the plugin that
    area is not to be compressed. Don’t worry – these configuration tags will be stripped
    out by the plugin.

## FAQ

  Why do I need this plugin?

When you are coding your HTML template, you will almost certainly want to add spaces,
tabs and carriage returns to the document. This helps you to read it, but this information
is ignored by the browser and transmitting it to the browser is a waste of bandwidth.
It bloats your files and slows your site down. This plugin will remove all this 
unnecessary „white space“.

  How do I mark areas that should not be compressed?

Look at the screenshot at http://www.mandar-marathe.com/img/wp-compress-html-screenshot2.
gif to see how to mark areas in your template that should not be compressed.

  Does it work for WordPress version x.x.x?

The plugin has been tested upto WordPress version 3.3.1.

## Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

## Mitwirkende und Entwickler

„WP-Compress-HTML“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin
mitgewirkt:

Mitwirkende

 *   [ mandar-marathe ](https://profiles.wordpress.org/mandar-marathe/)

[Übersetze „WP-Compress-HTML“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/wp-compress-html)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/wp-compress-html/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/wp-compress-html/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/wp-compress-html/)
per [RSS](https://plugins.trac.wordpress.org/log/wp-compress-html/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Zuletzt aktualisiert **vor 14 Jahren**
 *  Aktive Installationen **30+**
 *  WordPress-Version ** 2.5 oder höher **
 *  Getestet bis **3.3.2**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/wp-compress-html/)
 * Schlagwörter
 * [compress](https://de.wordpress.org/plugins/tags/compress/)[html](https://de.wordpress.org/plugins/tags/html/)
   [space](https://de.wordpress.org/plugins/tags/space/)[template](https://de.wordpress.org/plugins/tags/template/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/wp-compress-html/advanced/)

## Bewertungen

 5 von 5 Sternen.

 *  [  1 5-Sterne-Rezension     ](https://wordpress.org/support/plugin/wp-compress-html/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-compress-html/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-compress-html/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-compress-html/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-compress-html/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-compress-html/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/wp-compress-html/reviews/)

## Mitwirkende

 *   [ mandar-marathe ](https://profiles.wordpress.org/mandar-marathe/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/wp-compress-html/)