Hallo,
ich hab meine Seite mal durch Google http://pagespeed.googlelabs.com gejagt.
Jetzt sagt er mir
Specify a cache validator
The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources: -> hier kommen dann meine ganzen Bilder
wie kann ich das einstellen?
Hi lil trick,
wie sieht denn deine .htaccess aus?
Da fehlen wahrscheinlich ein paar Einträge.
schau mal ob du sowas verwendest:
### End: Rewrite stuff ###
# Expires Header + Removal of ETag
<FilesMatch "\.(bmp|css|flv|gif|ico|jpg|jpeg|js|pdf|png|svg|swf|tif|tiff)$">
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 24 hours"
ExpiresByType image/x-icon "access plus 1 months"
ExpiresByType image/jpg "access plus 1 months"
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
ExpiresByType image/png "access plus 1 months"
ExpiresByType image/ico "access plus 1 months"
ExpiresByType text/css "access plus 1 months"
ExpiresByType text/javascript "access plus 1 months"
ExpiresByType application/javascript "access plus 1 months"
ExpiresByType application/x-shockwave-flash "access plus 1 months"
</IfModule>
<IfModule mod_deflate.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
# ETag
FileETag MTime Size
<IfModule mod_headers.c>
FileETag MTime Size
</IfModule>
</FilesMatch>
# Compressed Content
<FilesMatch "\.gz\.(js|css)">
<IfModule mod_headers.c>
Header set Content-Encoding gzip
</IfModule>
</FilesMatch>
<IfModule mod_headers.c>
Header append Vary Accept-Encoding
</IfModule>
ergibt 96/100 in verbindung mit scriptmerger
gruss
maty