Gelöst
Kompression durch mod_deflate/mod_gzip
vor 4 Jahren
Hallo,
versuche meine Site weiter zu optimieren. Dabei würde ich gerne die gzip Komprimierung einschalten. Das scheint aber nicht zu funktionieren.
Ich habe auch einen verwandten Artikel gelesen und die Lösung ausprobiert. Bei mir ändert sich jedoch nichts.
Ich habe es sowohl per Plugin als auch direkt per Editor probiert. (die ".htaccess" und "etc/httpd.conf")
So langsam weiß ich auch nicht mehr, welche Dateien den nun genommen werden, da die Plugins teilweise Sicherungen der Originale erstellen und dann eigene generieren. (welche aber den Absatz mod_deflate/mod_gzip alle enthalten)
Wie kann man den Apache dazu bringen, dass er Kompression per gzip durchführt?
Ich wollte mir mal das Log des Apachen ansehen, aber dafür habe ich keine Berechtigung.
Können sie mir helfen?
718
15
Das könnte Ihnen auch weiterhelfen
1019
0
1
1055
0
3
493
0
2
Das könnte Sie auch interessieren
Kaufberatung anfragen
Füllen Sie schnell und unkompliziert unser Online-Kontaktformular aus, damit wir sie zeitnah persönlich beraten können.
Angebote anzeigen
Informieren Sie sich über unsere aktuellen Website-Angebote.
Akzeptierte Lösung
akzeptiert von
vor 4 Jahren
Deine httpconf sieht nicht so ganz richtig aus. Daher haben wir mal folgenden Vorschlag hochgeladen:
LoadModule info_module modules/mod_info.so
LoadModule status_module modules/mod_status.so
LoadModule speling_module modules/mod_speling.so
FcgidConnectTimeout 400
FcgidProcessLifeTime 8200
FcgidBusyTimeout 3600
FcgidIOTimeout 600
FcgidMaxRequestLen 100000000
AllowOverride All
LoadModule deflate_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/shtml
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Du kannst die Komprimierung unter: https://www.giftofspeed.com/gzip-test/ testen. Wenn noch Fragen sind, gerne wieder melden.
Viele Grüße
Stephie G.
2
Antwort
von
vor 4 Jahren
Hallo @Stephie G. ,
danke für die Änderung, die Komprimierung scheint zu funktionieren.
Aber PageSpeed Insights gibt an dieser Stelle immer noch eine Warnung aus. Hatte gehofft die los zu werden und mit Mobil erst mal in den gelben Bereich zu kommen. An den anderen Warnungen kann ich vermutlich nicht mehr viel optimieren. Werde ich dann erst mal so lassen müssen.
Aber nochmals Danke für die Unterstützung
VG
@mapoeke
Antwort
von
vor 4 Jahren
Gut, dass die Komprimierung nun funktioniert, ich richte den Dank gerne an meine Kollegin @Stephie G. aus. Vielleicht hilft dir das https://homepagecenter.telekom.de/index.php?id=350 bzgl. der Warnungen und Optimierungsmöglichkeiten weiter.
Schönen Abend noch & viele Grüße
Nadine H.
Uneingeloggter Nutzer
Antwort
von