Ciao a tutti,
quindi riepilogando, oltre casomai a settare nella maniera più opportuna JCH, la compressione GZIP e la gestione dalla cache su joomla consigliate di non attivarle per essere settate sul file htaccess ?
Quindi aggiungereste questo codice qua al vostro htaccess (quello di andrea cattalani + il pezzo sulla cache di etnatracker)?
FileETag MTime Size[size=78%]
[/size]# Utilizzare il mod_deflate di Unix per comprimere le pagine web[size=78%]
[/size]AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript[size=78%]
[/size]# configurare il livello di compressione (1 per avere un minimo livello e 9 per avere il massimo livello) [size=78%]
[/size]DeflateCompressionLevel 9[size=78%]
[/size]# attivare il controllo della Cache[size=78%]
[/size]ExpiresActive On[size=78%]
[/size]ExpiresDefault "now plus 1 hour"[size=78%]
[/size]# Abilitare la cache per i nostri file javascript e css[size=78%]
[/size]ExpiresByType text/css "now plus 1 week"[size=78%]
[/size]ExpiresByType application/javascript "now plus 1 week"[size=78%]
[/size]ExpiresByType application/x-javascript "now plus 1 week"[size=78%]
[/size]# file immagini[size=78%]
[/size]ExpiresByType image/bmp "now plus 1 month"[size=78%]
[/size]ExpiresByType image/jpeg "now plus 1 month"[size=78%]
[/size]ExpiresByType image/gif "now plus 1 month"[size=78%]
[/size]ExpiresByType image/jp2 "now plus 1 month"[size=78%]
[/size]ExpiresByType image/pipeg "now plus 1 month"[size=78%]
[/size]ExpiresByType image/svg+xml "now plus 1 month"[size=78%]
[/size]ExpiresByType image/tiff "now plus 1 month"[size=78%]
[/size]ExpiresByType image/png "now plus 1 month"[size=78%]
[/size]ExpiresByType image/icon "now plus 1 month"[size=78%]
[/size]ExpiresByType image/vnd.microsoft.icon "now plus 1 month"[size=78%]
[/size]ExpiresByType image/x-icon "now plus 1 month"[size=78%]
[/size]ExpiresByType image/ico "now plus 1 month"[size=78%]
[/size]ExpiresByType text/ico "now plus 1 month"[size=78%]
[/size]ExpiresByType image/vnd.wap.wbmp "now plus 1 month"[size=78%]
[/size]ExpiresByType application/vnd.wap.wbxml "now plus 1 month"[size=78%]
[/size]ExpiresByType application/ico "now plus 1 month"[size=78%]
[/size]#abilitazione cache[size=78%]
[/size]# 480 Settimane[size=78%]
[/size]<filesmatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|htm|html|JPG)$">[size=78%]
[/size]Header set Cache-Control "max-age=290304000, public"[size=78%]
[/size]</filesmatch>[size=78%]
p.s. qualcuno sa come escludere un componente slideshow dal LAZY LOAD di JCH ?[/size]