This is old news for most of us and yet when I wanted to quickly find it, it took some searching. Esto es noticia vieja para la mayoría de nosotros y, sin embargo, cuando he querido encontrar rápidamente, tomó algunas búsquedas. So here it is, in simple language, what you can do to prevent your web pages from being cached by browsers. Así que aquí es, en un lenguaje sencillo, lo que puede hacer para evitar que sus páginas web en caché de ser de los navegadores.

Add in your head section (between Añadir a su sección de cabecera (entre and y tags):



And then add the same code just before the ending Y, a continuación, añadir el mismo código justo antes de la finalización tag: etiqueta:



Explanation: Explicación:
The Pragma directive is to satisfy most browsers. El Pragma directiva es satisfacer la mayoría de los navegadores. However Internet Explorer doesn’t work with it at the beginning, so we have to place it at the end too. Sin embargo, Internet Explorer no funciona con respecto al comienzo, por lo que tenemos que colocarlo al final. Again IE 5.5 doesn’t recognize it. Una vez más 5,5 IE no lo reconoce. So we need to add the Expires directive too. Por lo tanto, tenemos que añadir la directiva Expira demasiado. Hat tip Hat punta

Note: In WordPress you can call the function nocache_headers() to prevent caching by modifying HTTP headers, as dicussed in the comments below. Nota: En WordPress puede llamar a la función nocache_headers () para evitar que la memoria caché de modificar las cabeceras HTTP, como dicussed en los comentarios a continuación.