PHP avoiding caches

My wife is re-starting Estudio-L and try to help her when php programing is neeeded, this few lines are useful and very reusable if you want to ensure that your clients are getting the lattest version of your web page


<?
// Always send an expired date
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// Always send present moment as last modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// Normal headers for non chaching
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0
?>

Saving time IRL

I’ve reading a post about Mercadona’s advantages if you buy on-line, and that makes me think about how on line activities are changing my life.

Now I buy cheaper music ’cause I get it from iTunes, I got a more direct contact with companies that offers me products via email… and so on, you may do your own list, but I never made up my mind about how buy on-line save time IRL in order to stay more with my family, again, machines some time work in our favor.

New home datacenter

Diego -a job mate- has donated a pentium mmx 266 Mhz with 64Ram Mb that will help to improve my home datacenter. This machine will obsolete my nowdays firewall+router+webserver and so, that machine will become my wife’ pc.

So we’ll get one pc for each one, no more discussions betwen mother and son.

Soon here, how to install Centos-4 in text mode with 64mb.

Bowman goes to Google

My wife, tolds me that Douglas Bowman has been hired by Google (my wife and me, we both didn’t link with Google ’cause they really don’t more Pagerank ;-).

He explain it himself in his blog better that I would do, so if you wanna known the details in, read what Bowman says on Going to Google. If you don’t know who is Bowman we may say that probably you have been seing a lot of web pages with a layout done by Bowman or even you have writting in a blog that uses Bowman templates.