Jump to content

¿CÓMO AÑADO EXPIRE HEADERS?


Jose Braña

Recommended Posts

Gracias @Prestafan33

Mi problema es que ya lo he añadido a mi .htacess

<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresByType image/gif "access plus 1 year"
	ExpiresByType image/jpeg "access plus 1 year"
	ExpiresByType image/png "access plus 1 month"
	ExpiresByType text/css "access plus 1 month"
	ExpiresByType text/javascript "access plus 1 month"
	ExpiresByType application/javascript "access plus 1 month"
	ExpiresByType application/x-javascript "access plus 1 month"
	ExpiresByType image/x-icon "access plus 1 year"
	ExpiresByType image/svg+xml "access plus 1 year"
	ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
	ExpiresByType application/font-woff "access plus 1 year"
	ExpiresByType application/x-font-woff "access plus 1 year"
	ExpiresByType font/woff2 "access plus 1 year"
	ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
	ExpiresByType font/opentype "access plus 1 year"
	ExpiresByType font/ttf "access plus 1 year"
	ExpiresByType font/otf "access plus 1 year"
	ExpiresByType application/x-font-ttf "access plus 1 year"
	ExpiresByType application/x-font-otf "access plus 1 year"
</IfModule>

Pero Pingdom me dice que añada más... (según imagen adjunta) y ya no sé como especificarle en concreto que expiren esas URLS

¿?

 

Captura de pantalla 2020-08-11 a las 23.58.27.png

Link to comment
Share on other sites

Esas urls no están alojadas en tu servidor y por tanto no tienes control sobre ellas. Todavía las fuentes podrías llegar a descargarlas y ponerlas en local para que se descarguen desde tu servidor, pero el resto no.

Las herramientas de auditado automático de páginas tienen ese problema: Muchas veces valoran cosas y dan consejos imposibles de cumplir.

Edited by Prestafan33 (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...