Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : Ricsca 17 Feb 2011, 12:55:29

: Risolvere lentezza sito
: Ricsca 17 Feb 2011, 12:55:29
Ho contattato aruba in seguito ad un sito con joomla lento e mi ha detto che devo attivare la compressione gzip e quindi fare questa modifica al file hatacces.

Quello che vi chiedo è... visto che posso comprimere in gzip dal pannello admin, devo anche fare questa modifica al fil ehataccess come mi hanno comunicato?

SetOutputFilter DEFLATE
AddOutputFilter DEFLATE text/plain
AddOutputFilter DEFLATE text/xml
AddOutputFilter DEFLATE application/xhtml+xml
AddOutputFilter DEFLATE text/css
AddOutputFilter DEFLATE application/xml
AddOutputFilter DEFLATE image/svg+xml
AddOutputFilter DEFLATE application/rss+xml
AddOutputFilter DEFLATE application/atom_xml
AddOutputFilter DEFLATE application/x-javascript
AddOutputFilter DEFLATE application/x-httpd-php
AddOutputFilter DEFLATE application/x-httpd-fastphp
AddOutputFilter DEFLATE application/x-httpd-eruby
AddOutputFilter DEFLATE text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.avi$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.mov$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.mp3$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.mp4$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.rm$ no-gzip dont-vary
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

: Re:Risolvere lentezza sito
: youaste.it 17 Feb 2011, 22:56:33
ciao la lentezza del sito può dipender da molti fattori: troppe immagine da caricare, server lento perchè magari ti appoggi ad un server condiviso da molti utenti. nn per forza devi agire sull'htaccess
: Re:Risolvere lentezza sito
: stefano.fenati 17 Feb 2011, 23:57:50
poi usare anche alcuni strumenti che trovi in rete per "misurare" le prestazione del sito e capire come agire per migliorale
: Re:Risolvere lentezza sito
: Npaquito 18 Feb 2011, 08:16:10
Io sono nato nelle praterie dove il vento soffia libero e non c'è nulla che ferma la luce del sole. (Geronimo)
Hola

Si vede che non abita a Milano ;D ;D ;D

Stefano scusa lo scherzo e voi tutti scusate l'OT
: Re:Risolvere lentezza sito
: r1si 18 Feb 2011, 08:56:56
poi usare anche alcuni strumenti che trovi in rete per "misurare" le prestazione del sito e capire come agire per migliorale
ciao , :) un esempio di questi strumenti ? mi interesserebbe molto :D
grazieee
: Re:Risolvere lentezza sito
: tomtomeight 18 Feb 2011, 09:06:40
Per esempio, "YSlow" plugin fi mozilla firefox!