How to specify browser cache for PageSpeed Insights

como especificar cache de navegador para pagespeed insights

Within the SEO Positioning factors, one of the resources that we have to have optimized is the loading speed of the web page or blog. To such an extent it is important that Google, our spiritual guide in this positioning pages, has created a speed test for web pages.

Google leaves nothing to chance and if it puts at our service a test, it is because the importance of this parameter is extreme. Some SEO experts, say that along with local SEO, it is the most important factor at the moment.

Working with Google PageSpeed Insights is very intuitive and simple and will help us to speed up our website. Specifying the browser cache is one of the points that can be more unnoticed but no less important and also Google does not give us the solution in its speed test page.

The cache serves to remind our browser the resources it has already loaded to avoid having to reload data such as logos and CSS files and will give us loading speed and some extra point in the rating.

If you get “Specify browser cache” as a result when doing the Google speed test, we tell you the steps you must follow to fix it.

  1. Download your .htaccess file from the server and open it with Notepad, Dreamweaver, sublime, etc…
  2. Add the following code to the beginning of the content.
# With we specify cache<IfModule mod_expires. c> ExpiresActive OnExpiresDefault "access plus 10 days "ExpiresByType text/css "access plus 1 week "ExpiresByType text/plain "access plus 1 week "ExpiresByType image/gif "access plus 1 month "ExpiresByType image/png "access plus 1 month "ExpiresByType image/jpeg "access plus 1 month "ExpiresByType image/x- icon "access plus 3 months "ExpiresByType application/x-javascript "access plus 1 month "ExpiresByType application/javascript "access plus 1 week "ExpiresByType text/javascript "access plus 1 week "ExpiresByType application/x-icon "access plus 3 months"< /IfModule># finished 

Once the file has been saved:

  1. Upload the file back to the server and replace it with the new one.
  2. Rerun the speed test and check that you no longer have any errors.

If you do all the steps correctly, you can get a very good score and remember that not even Google has 100/100, exceeding 90/100 grade will give you quality SEO against your competitors.

Como especificar cache de navegador Google

Leave a Comment

Your email address will not be published. Required fields are marked *

  Acepto la política de privacidad

  • Responsable: Santos Muñoz
  • Fin del tratamiento: Controlar el spam, gestión de comentarios
  • Legitimación: Tu consentimiento
  • Registro en mi Newsletter: Alojada en Active Campaign
  • Destinatarios: los datos que me facilitas estarán ubicados en los servidores de Sered (proveedor de hosting de dentro de la UE. Ver política de privacidad de Sered. (
  • Comunicación de los datos: No se comunicarán los datos a terceros salvo por obligación legal.
  • Derechos: Podrás ejercer tus derechos, entre otros, a acceder, rectificar, limitar y suprimir tus datos.
  • Información adicional: Más información en nuestra política de privacidad.

Scroll to Top