|
|||
|
Hallo!
Benutze die letze 3'er Version mit Xt-Commerce, Shophoster ist Domaingo. Lt. letztem c't Artikel bin ich auf die Performanceoptimierungen aufmerksam geworden, leider bringe ich das nicht so hin bzw. weiß jetzt einfach nicht mehr weiter. Habe lt. einigen Artiklen folgenden Code in die .htaccess Datei eingefügt: Code:
##-- gzip aktivieren SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/css text/html text/plain text/xml text/js application/x-javascript application/javascript # BEGIN Expire headers <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 5184000 seconds" ExpiresByType image/ico "access plus 5184000 seconds" ExpiresByType image/jpeg "access plus 5184000 seconds" ExpiresByType image/jpg "access plus 5184000 seconds" ExpiresByType image/png "access plus 5184000 seconds" ExpiresByType image/gif "access plus 5184000 seconds" ExpiresByType application/x-shockwave-flash "access plus 5184000 seconds" ExpiresByType text/css "access plus 5184000 seconds" ExpiresByType text/javascript "access plus 5184000 seconds" ExpiresByType application/x-javascript "access plus 5184000 seconds" ExpiresByType text/html "access plus 5184000 seconds" ExpiresByType application/xhtml+xml "access plus 5184000 seconds" </IfModule> # END Expire headers # BEGIN Cache-Control Headers <FilesMatch ".(ico|jpeg|jpg|png|gif|swf)$"> Header set Cache-Control "max-age=5184000, public" </FilesMatch> <FilesMatch ".(css)$"> Header set Cache-Control "max-age=5184000, public" </FilesMatch> <FilesMatch ".(js)$"> Header set Cache-Control "max-age=5184000, private" </FilesMatch> <FilesMatch ".(xhtml|html|htm|php)$"> Header set Cache-Control "max-age=5184000, private, must-revalidate" </FilesMatch> # END Cache-Control Headers # BEGIN Turn ETags Off Header unset ETag FileETag None # END Turn ETags Off # BEGIN Remove Last-Modified Header Header unset Last-Modified Weiters habe ich ich noch in die metatags.php von Gunnart folgende Zeilen eingefügt: Code:
<meta http-equiv="cache-control" content="public" /> <meta http-equiv="pragma" content="public"> <meta http-equiv="expires" content="Mon, 30 Aug 2012 11:12:01 GMT"> Auch ein Anlegen einer .htaccess im echten Root Verzeichnis, im Shop Root Verzeichnis oder im template Ordner hilft nciht. Meine Frage: was mache ich denn falsch? Bei anderen dürfte das ja auch klappen oder? |
![]() |
| Lesezeichen |
| Stichworte |
| browser, caching, google, gzip, metatags, pagespeed |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Google Base Hilfe/Tutorial | cruelviper | Anleitungen - Patches - Downloads | 0 | 03.07.2009 01:21 |
| Was ist das: Attempted hack on your site? (type: Intrusion detection.) | melinda*at | Shopbereich | 3 | 18.03.2009 20:17 |