Set up a cron job and have it output to a static file.
Or just let the script run once normally when someone visits the page but output the content to a static file and use filemtime() to find when the file was last modified. The first solution seems easier to me but it's your call.
__________________
I like pie.
|