Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/03/2014, 08:08
juanvc123
 
Fecha de Ingreso: octubre-2011
Ubicación: Tierra
Mensajes: 64
Antigüedad: 12 años, 6 meses
Puntos: 0
Respuesta: Compress GZIP en Laravel

Cita:
Iniciado por abimex Ver Mensaje
Eso es configuracion del servidor, si lo tienes bien configurado en el apache con eso deberia funcionar.

¿Cómo tienes tu .htaccess?
en la carpte public_html está el archivo .htacces y le puse esta opción pero nada

Código Apache:
Ver original
  1. ###################
  2. # GZIP COMPRESSION #
  3. ####################
  4. SetOutputFilter DEFLATE
  5. AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/x-httpd-php
  6. BrowserMatch ^Mozilla/4 gzip-only-text/html
  7. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  8. BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  9. BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
  10. SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
  11. Header append Vary User-Agent env=!dont-vary