|
#1
|
|||
|
|||
|
Hallo zusammen,
würde es nicht Sinn machen mod_deflate als Option konfigurierbar pro Web oder allgemein für den Server konfigurieren zu können? http://httpd.apache.org/docs/2.0/mod/mod_deflate.html Grüße, Andreas |
|
#2
|
|||
|
|||
|
Du kannst es ja über die apache Direktiven pro Website konfigurieren. Normalerweise schaltet man das aber für den ganzen Server an oder aus.
|
|
#3
|
|||
|
|||
|
Ja, das weis ich... war nur eine Idee für die GUI affinen Menschen
![]() Ausserdem bin ich gerade an der Optimierung meines Servers... da ist das schon hilfreich. Ich mache das über den conf.d: Code:
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
### Logging
#DeflateFilterNote Input input_info
#DeflateFilterNote Output output_info
#DeflateFilterNote Ratio ratio_info
#LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
#CustomLog /var/log/apache2/deflate_log deflate
</IfModule>
Code:
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/gif "access plus 1 years"
ExpiresByType image/jpeg "access plus 1 years"
ExpiresByType image/png "access plus 1 years"
ExpiresByType text/css "access plus 1 years"
ExpiresByType text/js "access plus 1 years"
ExpiresByType text/javascript "access plus 1 years"
ExpiresByType application/javascript "access plus 1 years"
ExpiresByType application/x-javascript "access plus 1 years"
#ExpiresDefault "access plus 1 days"
</IfModule>
Geändert von sirrus (26.11.2009 um 16:52 Uhr). |
|
#4
|
|||
|
|||
|
Zitat:
![]() |
|
#5
|
|||
|
|||
|
Da hast du recht... ich trag das bei Gelegenheit mal zusammen und erstelle ein Howto, was man da so machen kann...
|
![]() |
| Themen-Optionen | |
| Ansicht | |
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 13:23 Uhr.











Linear-Darstellung
