Ver Mensaje Individual
  #16 (permalink)  
Antiguo 11/05/2015, 05:23
Avatar de NueveReinas
NueveReinas
 
Fecha de Ingreso: septiembre-2013
Ubicación: No tan Buenos Aires
Mensajes: 1.101
Antigüedad: 10 años, 7 meses
Puntos: 145
Respuesta: Cómo acelerar la velocidad de mi web

Cita:
Iniciado por lauser Ver Mensaje
Debes habilitar la compresión gzip. También echa un vistazo aquí, comprobaras los defectos y carencias de tu web.
En pages con muchas imágenes conviene activar el cacheado de las mismas. No se si lo tiene activado o no. Tan solo seria añadir algo similar a esto en tu .htaccess.
Código Apache:
Ver original
  1. <IfModule mod_expires.c>
  2. ExpiresActive On
  3. ExpiresDefault "access plus 600 seconds"
  4. ExpiresByType image/x-icon "access plus 604800 seconds"
  5. ExpiresByType image/jpg "access plus 604800 seconds"
  6. ExpiresByType image/jpeg "access plus 604800 seconds"
  7. ExpiresByType image/png "access plus 604800 seconds"
  8. ExpiresByType image/gif "access plus 604800 seconds"
  9. ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
  10. ExpiresByType text/css "access plus 604800 seconds"
  11. ExpiresByType text/javascript "access plus 604800 seconds"
  12. ExpiresByType application/x-javascript "access plus 604800 seconds"
  13. ExpiresByType text/html "access plus 600 seconds"
  14. ExpiresByType application/xhtml+xml "access plus 600 seconds"
  15. </IfModule>
  16. <IfModule mod_headers.c>
  17. <FilesMatch "\\.(ico|jpeg|jpg|png|gif|swf|css|js)$">
  18. Header set Cache-Control "max-age=604800, public"
  19. </FilesMatch>
  20. <FilesMatch "\\.(x?html?|php)$">
  21. Header set Cache-Control "max-age=600, private, must-revalidate"
  22. </FilesMatch>
  23. </IfModule>
O sea, guarda los archivos en cache durante una semana, ¿no?
__________________
¿Te sirvió la respuesta? Deja un +1