En GTmetrix y PageSpeed Insights me sale algo similar a esto:
Cita:
Esto es parte de mi .htaccess:miurl/css/bootstrap.css (expiration not specified)
miurl/css/1.css (expiration not specified)
miurl/css/2.css (expiration not specified)
miurl/css/3.css (expiration not specified)
miurl/css/4.css (expiration not specified)
miurl/css/5.css (expiration not specified)
miurl/imagenes/1.jpg (expiration not specified)
miurl/imagenes/2.jpg (expiration not specified)
miurl/imagenes/3.jpg (expiration not specified)
miurl/imagenes/4.jpg (expiration not specified)
miurl/imagenes/5.jpg (expiration not specified)
miurl/imagenes/6.jpg (expiration not specified)
miurl/imagenes/7.jpg (expiration not specified)
miurl/imagenes/8.jpg (expiration not specified)
miurl/imagenes/9.jpg (expiration not specified)
miurl/imagenes/10.jpg (expiration not specified)
miurl/js/1.js (expiration not specified)
miurl/css/1.css (expiration not specified)
miurl/css/2.css (expiration not specified)
miurl/css/3.css (expiration not specified)
miurl/css/4.css (expiration not specified)
miurl/css/5.css (expiration not specified)
miurl/imagenes/1.jpg (expiration not specified)
miurl/imagenes/2.jpg (expiration not specified)
miurl/imagenes/3.jpg (expiration not specified)
miurl/imagenes/4.jpg (expiration not specified)
miurl/imagenes/5.jpg (expiration not specified)
miurl/imagenes/6.jpg (expiration not specified)
miurl/imagenes/7.jpg (expiration not specified)
miurl/imagenes/8.jpg (expiration not specified)
miurl/imagenes/9.jpg (expiration not specified)
miurl/imagenes/10.jpg (expiration not specified)
miurl/js/1.js (expiration not specified)
Cita:
Cuanto eliminé los ExpiresByType y dejé solo el ExpiresDefault pasó exactamente lo mismo, es decir, nada:<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 604800 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType image/ico "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/jpg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
ExpiresActive On
ExpiresDefault "access plus 604800 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType image/ico "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/jpg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
Cita:
Parece que no considera los ccs, js, jpg. etc, sino solamente los archivos de fuente y aparentemente los "ico" también. No se si es una configuración del servidor o un problema de mi htaccess. Saludos y gracias por adelantado. <ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 604800 seconds"
</ifModule>
ExpiresActive On
ExpiresDefault "access plus 604800 seconds"
</ifModule>