Tags: cache,php

Sort by: Date / Title /

  1. 1 year ago by fozter
    Necesario para eliminar el cache del explorador cuando se utiliza ajax para mostrar resultados en un contenedor div
    1. <?
    2.   header("Expires: Tue, 01 Jul 2001 06:00:00 GMT");
    3.   header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    4.   header("Cache-Control: no-store, no-cache, must-revalidate");
    5.   header("Cache-Control: post-check=0, pre-check=0", false);
    6.   header("Pragma: no-cache");
    7. ?>
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1347"></script>

First / Previous / Next / Last / Page 1 of 1 (1 posteets)