ALL SYSTEMS OPERATIONALUPTIME 99.97%FLEET 18/18IN-MUM · US-LAX · EU-FSN EST. 2003 · +91 11 4998 4038

CONOCIDO EL BASQUE · .

Cómo habilitar el almacenamiento de explorador de palanca

Última actualización 2024-11-28

Una vez habilitado, Caché de navegador will allow visitors to save items from your web page so that they do not need to be downloaded every time they visit your website. This is useful for design elements such as CSS stylesheets and media content such as imágenes. Es una solución práctica, como cuando alguien sube una imagen que hace crecer y cambiar muy a menudo a su sitio web.

 

Esto reduce el ancho de banda y aumenta los tiempos de carga de página. Para habilitar el almacenamiento de caché de navegación, todo lo que necesita hacer es añadir este código a su archivo .htaccess:

 

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##

 

← Todos los artículos de base de conocimientos

Díganos qué tiene que estar levantado.

A short conversation with an engineer. No quote-bot, no callback queue. We'll tell you honestly if we're not the right fit.