0Wordpress LogoDie Wordpress-Führer

Teil 3: Wachsend & Geld verdienen

3.1 Performance

Halten Sie Ihre Website schnell - sowohl Menschen als auch Suchmaschinen nicht gerne warten

3.1.1 minimiert Plugins

Through­out this art­icle we’ve recom­men­ded lots of plu­gins. They’re all valu­able and can add to your site. How­ever, don’t go over the top. Each and every plu­gin that changes your site appear­ance adds pro­cessing and trans­fer over­heads. Plu­gins that are for man­age­ment use only (z.B. Backup-plu-Gins) are of much less issue. Wherever pos­sible, verwenden Sie ein Thema, das die Funktionalität beinhaltet, oder Um-ment-Lösungen ohne plu-Gins, beispielsweise, instead of using the “extern­al links” plu­gin to apply style your extern­al links, einfach implementieren diese Styling selbst mit ein bisschen CSS and an image or 2. Try to keep a sens­ible bal­ance — don’t remove valu­able plu­gins just to keep the num­ber of plu­gins low, aber nicht diejenigen, die Sie nicht wirklich brauchen, halten entweder.

3.1.2 Ungenutzten Plugins entfernen

This is simple — if you’re not using a plu­gin then don’t waste host­ing space on them. Unless you think you might want to react­iv­ate a plu­gin in the future don’t just deac­tiv­ate, but delete. Remov­ing unneeded plu­gins also keeps your word­press man­age­ment page less cluttered.

3.1.3 Ersetzen Plugins

Einige Plugins sind sehr groß und haben eine Menge von Funktionen, but you might only use one fea­ture of such a huge plu­gin. Con­sider manu­ally adding the code for that fea­ture and ditch­ing the over­head of the whole plu­gin (siehe Abschnitt 3.1.1) or con­sider find­ing an altern­at­ive plu­gin which offers just the fea­tures that you need.

3.1.4 Cache-Speicher & Minifizieren

Wort-Press basiert auf PHP und MySQL, and both of these require sig­ni­fic­ant pro­cessing whenev­er a page is accessed. Since neither users nor search engines like wait­ing for pages to load you should reduce load times by util­ising vari­ous cach­ing and effi­ciency plu­gins. Cach­ing gen­er­ates stat­ic HTML Dateien für jede Ihrer Seiten, redu­cing the delay caused by your web serv­er pro­cessing PHP and access­ing the data­base. Mini­fy­ing removes redund­ancy from your CSS and JavaS­cript. The 2 führenden Lösungen sind W3 Total Cache, was tut beides Caching-und Verkleinerungs oder eine Kombination von WP Super Cache und WP Mini­fy.
[google_adsense]

3.1.5 Kompression

Your host­ing will almost cer­tainly be run­ning on either the Microsoft of the Apache web serv­er. Our host uses Apache, die Kompression von Daten sendet er unterstützt, if you choose to enable it. The Microsoft web serv­er also sup­ports com­pres­sion which can simply be turned on or off. All mod­ern web browsers sup­port com­pres­sion. There are 2 Möglichkeiten der com-pres-sion Daten mit Apache, and you may only want to com­press cer­tain files. Here at DIYMH we com­press all our text based files using apache’s mod_deflate. This reduces our front page load size from approx 100k to approx 20kDepend­ing on your web host you may only be able to enable some types of com­pres­sion. Better­Ex­plained have an hervorragende Leitfaden für com-pres-sion which we recom­mend you read.

3.1.5 Halten Sie Skripts in Dateien

All non con­tent really should be in extern­al files, nicht geladen Inline-. This speeds up browser ren­der­ing sig­ni­fic­antly and also makes debug­ging any page errors easi­er. JavaS­cript should be in js files, Styl-ing sollte in CSS files etc. Even some meta con­tent can go in extern­al files (siehe zum Beispiel Abschnitten 1.4.3 und 1.4.17).  Word­Press is very good at keep­ing to this, but if you make modi­fic­a­tions try to stick to the sys­tem. Some word­press plu­gins are bet­ter than oth­ers at this, also, wenn einige nicht bis zu kratzen, con-Sider Fund-ten eine alternative.

3.1.6 Benutzen CSS Sprites

CSS Sprites sind eine hervorragende Möglichkeit, die Anzahl der zu reduzieren HTTP requests sent back and forth between the read­ers browser and your web serv­er. Instead of hav­ing 30 indi­vidu­al images, die alle zu reques-ten September-ar-bar sein, you can reduce the num­ber of requests to the serv­er by hav­ing all of images in a single file. Use CSS to insert the cor­rect part of the image each time you want to use it. Anoth­er bene­fit is that 1 large image file is often smal­ler than sev­er­al small images com­bined. There is more inform­a­tion at CSSTricks, W3Schools und Smash-ing-Ma-Gas-ine

3.1.7 Komprimiert Bilder

By default lots of images can be losslessly com­pressed bet­ter than word­press does by default. This will save on image trans­fer times. There are plu­gins that will do this for you, z.B. WP Smush.it.  Wenn Sie mit PNGs (in Ab-schnitt als Emp-men-ded 2.1.2) then there are sev­er­al ways to improve effi­ciency. To max­im­ise PNG Effizienz Bilder können mit PNGGauntlet komprimiert werden, je-doch dies muss getan werden, nach upload. If the image does­n’t con­tain many shades or col­ours then save it as a 256-col­our image — this will reduce the file-size sig­ni­fic­antly, aber wieder, this effi­ciency should be sought after upload. The reas­on for not com­press­ing or redu­cing the col­our depth of images before upload is that the PHP res­ize func­tion will not cre­ate good qual­ity res­ized images if they are already com­pressed. So, laden Sie Ihre Bilder, lassen Wordpress erzeugt die Größe geändert, Bilder, Down laden Sie sie mit einem FTP Programm, mit PNG-Gaunt-let-com drücken sie, and then reup­load and over-write the ori­gin­als. WP Smush.it erhalten Sie 90% dem Weg und ist viel mehr con-veni-ent. Wir unsere PNGs komprimieren immer lokal mit PNGGauntlet, but you may not want the hassle — the choice is yours.

3.1.8 Auslauf- der statischen Ressourcen

Browsers cache all the con­tent that they load. To avoid images and oth­er stat­ic resources being reloaded on every page load you can spe­cify an expiry time which instructs the browser to use its cached copy until the expiry date passes, when it will fetch a fresh copy. Any­thing that does­n’t change very often should have an expiry set. At DIYMH Wir tun dies über W3 Total Cache.

3.1.9 Verwenden Sie relative Links

Wenn Sie keine Links zu irgendetwas anderes auf Ihrer Website einfügen benutze immer einen relativen Pfad, statt einer vollständigen Pfad. Das spart ein klein wenig von der Seitengröße, aber mehr Import-antly, es heißt, Sie müssen nicht, sie zu ändern, wenn Sie jemals Ihren Domain-Namen ändern.

3.1.10 Entfernen Sie alte Revisionen

By default word­press retains a copy of all pre­vi­ous revi­sions of every art­icle on your site. This is overkill in our view. The easi­est way to man­age this is to use a plu­gin, z.B. Revision Steuer, which will auto­mat­ic­ally cull older revi­sions based on your set­tings. This will keep your data­base size down and the speed of your site will benefit.

3.1.11 Überprüfen Sie Ihre Seite Geschwindigkeit

Während Google-Seite Geschwindigkeit (siehe Abschnitt 1.3.2) ist ein guter Anfang, empfehlen wir mit einem breite Palette von Werkzeugen um zu überprüfen, haben Sie optim-zeichnet Ihre Website vollständig.

You might also like...

Hinterlasse eine Antwort