nexus9,
If the SQL-queries are CPU-bound, you might want to precompute the data, stuff it in a file and generate the page from that. No need to query the database every time if it only changes once a day.
That's what I do at http://seti.matroxusers.com/. For another reason BTW (the DB is on a...