A simple php script that does a simple time cache would suffice for this.
When queried for the first time, it could save (in a flat file) either the time it was queried or the time + 24 hours. When it needs to generate and someone lands on the page, it could query the db and output html. During the time that it doesn't need to talk to the database, it could just include the created html file.
This would eliminate the need to play with cron jobs, though I think that either way would work just as good.
A simple php script that does a simple time cache would suffice for this.
When queried for the first time, it could save (in a flat file) either the time it was queried or the time + 24 hours. When it needs to generate and someone lands on the page, it could query the db and output html. During the time that it doesn't need to talk to the database, it could just include the created html file.
This would eliminate the need to play with cron jobs, though I think that either way would work just as good.