Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/04/2010, 04:52
juanota
 
Fecha de Ingreso: febrero-2008
Mensajes: 109
Antigüedad: 16 años, 1 mes
Puntos: 15
Respuesta: Problema compresion web GZIP

Primero he mirado si el servidor tiene activada la característica.
Una vez comprobado he usado este código en .htaccess y me ha ido bien.

Código:
# INICIO compresion GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
# FIN compresion GZIP
He visto también esta solución:

Código PHP:
php_value output_handler ob_gzhandler 
¡Suerte!
__________________
diseño web
posicionamiento web