Hi,
Kevin I am designing this very same thing!! lol, it's a web site that caches data and updates every 30mins or half hour.
First you need to research crontabs ; it's a unix/linux function to let a script activate on a specific time interval.
Second you need you do some research on file managment.
Example to get you mental juices flowing.
This is what i do in essence :
info is called from DATABASE ->
it is sorted and "printed" to an ARRAY ->
example :
<?PHP
$SOURCE = "SOME HTML; $SOURCE .= 'some more html';
echo $SOURCE;
?>
from this point the info can be ECHO ed or SAVED to a file.
PS : .= is a string concate. It ADDS to the string.
Good luck,
COPE