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>
Necesario para eliminar el cache del explorador cuando se utiliza ajax para mostrar resultados en un contenedor div
<?
header("Expires: Tue, 01 Jul 2001 06:00:00 GMT");
header("Last-Modified: " .
gmdate("D, d M Y H:i:s") .
" GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0",
false);
?>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1347"></script>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1148"></script>
find `ls -a -1 | grep -e "^\..."` | grep NOM_DU_FICHIER
#exemple (va generalement trouver les fichiers de conf de firefox contenus dans le repertoire ~/.mozilla)
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>