Tags: cache

Sort by: Date / Title /

  1. 7 months ago by spirit
    if ($request_uri ~* "\.(ico|css|js|gif|jpe?g|png)\?[0-9]+$") {
      access_log off;
      expires 31d;
      break;
    }
    # Matching URLs
    http://domain.com/stylesheets/blog.css?1221178271
    
    if ($request_uri ~* "\.(ico|gif|png|jpe?g|css|js|swf)(\?v\d\d?)?$") {
      access_log off;
      expires 31d;
      break;
    }
    # Matching URLs
    http://domain.com/stylesheets/blog.css
    http://domain.com/stylesheets/blog.css?v1
    http://domain.com/stylesheets/blog.css?v12
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2021"></script>
  2. 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>
  3. 2 years ago by spirit
    1. ipconfig /flushdns
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1148"></script>
  4. sponsorised links
  5. 2 years ago by matt
    1. find `ls -a -1 | grep -e "^\..."` | grep NOM_DU_FICHIER
    2.  
    3. #exemple (va generalement trouver les fichiers de conf de firefox contenus dans le repertoire ~/.mozilla)
    4. find `ls -a -1 | grep -e "^\..."` | grep firefox
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/347"></script>

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