Quantcast
Channel: Server Support Forum
Viewing all articles
Browse latest Browse all 7443

Gzip aktivieren - ngnix yslow

$
0
0
Guten Tag liebe Server Support Gemeinde.

Ich habe eine Verständnisfrage zum Gzip.
Auf den früheren Managed Server war der Gzip Test unter Yslow
immer Positiv, wenn die htaccess korrekt angepasst wurde.

Code:

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType image/ico "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 432000 seconds"
ExpiresByType text/css "access plus 432000 seconds"
ExpiresByType text/javascript "access plus 432000 seconds"
ExpiresByType application/x-javascript "access plus 432000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>

##
# Disable ETags
# @see http://developer.yahoo.com/performance/rules.html#etags
##
FileETag None
<IfModule mod_headers.c>
  Header unset ETag
</IfModule>

<IfModule mod_deflate.c>
<FilesMatch "\.(css|js|x?html?|php)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>

Die gleiche htacces verwenden wir nun auf dem Dedicated server,
jedoch wird unter yslow Note (F) ausgegeben.
Was mich aber wundert ist, das manche Javascript Files dennoch gezipt werden.

Andere Online Gzip Checks zeigen, das die Seite Gzip verwendet,
denke das liegt daran, das teilweise es ja auch so ist.

Yslow und pagespeed zeigen "deaktiviert"

zum selberschauen - Testshop: shop481.lavedo.de

Meine Frage lautet, wie man die Einstellung so hinbekommt, das
gzip komplett wieder funktioniert.


Beste Grüße

Lod

Anhänge:

2 x yslow test - 1. funktioniert 2. funktioniert nicht (mit Headerangaben)
2 x Server config 1 x ngnix & 1 x Apache

Miniaturansicht angehängter Grafiken
Klicke auf die Grafik für eine größere Ansicht

Name:	yslow gzip funktioniert.jpg
Hits:	-
Größe:	34,6 KB
ID:	5439   Klicke auf die Grafik für eine größere Ansicht

Name:	yslow gzip funktioniert_nicht.jpg
Hits:	-
Größe:	38,4 KB
ID:	5440   Klicke auf die Grafik für eine größere Ansicht

Name:	httpd_conf.jpg
Hits:	-
Größe:	75,4 KB
ID:	5441   Klicke auf die Grafik für eine größere Ansicht

Name:	ngnix_conf.jpg
Hits:	-
Größe:	35,4 KB
ID:	5442   Klicke auf die Grafik für eine größere Ansicht

Name:	komplett.jpg
Hits:	-
Größe:	146,1 KB
ID:	5443  


Viewing all articles
Browse latest Browse all 7443