Ich steig mal in diesem Thread ein:
Ersteinmal habe ich das mo_expires Problem mit 1&1 nach sehr vielen Tests lösen können!
Folgende Werte bekomme ich von PageSpeed im Bezug zum "Leverage browser caching":
The following resources are missing a cache expiration.
Resources that do not specify an expiration may not be
cached by browsers. Specify an expiration at least one
month in the future for resources that should be cached,
and an expiration in the past for resources that should
not be cached:
* s7.addthis.com/js/152/addthis_widget.js
The following cacheable resources have a short freshness
lifetime. Specify an expiration at least one month in the
future for the following resources:
* www.druckerei-und-print-office.de/basic.css
* /content.css
* /events.css
* www.druckerei-und-print-office.de/form.css
* www.druckerei-und-print-office.de/info.css
* /layout.css
* /modules.css
* /navigation.css
* /plugins/mootools/mootools.js
* /plugins/slimbox/css/slimbox.css
* /plugins/slimbox/js/slimbox.js
* /system/typolight.css
* /welcome.css
Favicons should have an expiration at least one month in the future:
* /favicon.ico
Non-scoring information
The following resources are explicitly non-cacheable.
Consider making them cacheable if possible:
* 152lo.gif?uid=4af30a2428238ca3&9hi9l4&CXNI...
* www.druckerei-und-print-office.de/cron.php
Nach dieser Meldung passte ich meine Konfigurationsdatei enstprechend an und prüfte es bei PageSpeed:
Die Meldung war die selbe wie oben beschrieben, allerdings, wenn man sich unter "Show Ressources" den Header und die Antwort des entprechenden Eintrags anschaut, steht da folgendes:
HEADER
Date Sat, 09 Jan 2010 14:29:59 GMT
Server Apache
Cache-Control max-age=2592000
Expires Mon, 08 Feb 2010 14:29:59 GMT
Last-Modified Mon, 04 Jan 2010 15:22:08 GMT
Etag "601c5a7c-26c-4b4207a0"
Accept-Ranges bytes
Content-Length 620
Content-Type text/css
Content-Encoding gzip
Anfrage-Header
Host www.druckerei-und-print-office.de
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.7)
Gecko/20091221 Firefox/3.5.7
Accept text/css,*/*;q=0.1
Accept-Language de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Referer www.druckerei-und-print-office.de
Cookie fontSize=100; ja_purity_tpl=ja_purity; _csoot=1263030321603;
_csuid=4af30a2428238ca3; PHPSESSID=dccf5249179a7f3bf1723404e02ad5ab
ANTWORT
/* Style sheet basic */
body,div,h1,h2,h3,h4,h5,h6,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,table,th,td,form,fieldset,legend,input,textarea{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
caption,th,td{text-align:left;vertical-align:top;}
blockquote,q{quotes:none;}
fieldset,img{border:0;}
li{list-style-type:none;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
del{text-decoration:line-through;}
ins{text-decoration:none;}
a{text-decoration:none;color:#6b8d1a;}
a:hover{text-decoration:underline;}
:focus{outline:0;}
body{font-family:"Lucida Grande",
"Lucida Sans Unicode",Verdana,sans-serif;font-size:12px;color:#444;}
input,button,textarea,select{font-family:inherit;font-size:99%;font-weight:inherit;}
pre,code{font-family:"Lucida Console",Monaco,monospace;font-size:12px;}
h1,h2,h3,h4,h5,h6{font-family:"Trebuchet MS",Helvetica,
Arial,sans-serif;font-weight:normal;font-size:100%;}
h1{font-size:24px;}
h2{font-size:22px;}
h3{font-size:20px;}
table{font-size:inherit;}
caption,th{font-weight:bold;}
abbr,acronym{border-bottom:1px dotted #666;font-variant:normal;cursor:help;}
h1,h2,h3,h4,h5,h6{margin-top:1em;}
h1,h2,h3,h4,h5,h6,p,pre,blockquote,table,ol,ul,form{margin-bottom:12px;}
.mtop{margin-top:1em;}
.mbot{margin-bottom:12px;}
Das bedeutet doch, dass er expire richtig ausliest, aber die Daten nicht aus dem Cache nimmt?
Gruß,
Claudio.
Beitrag erstellen
EinloggenKostenlos registrieren