home page now static
Posted: Tue Sep 07, 2004 11:43 pm
The home page updates only every 15 minutes, and if no one goes on within 15 minutes it won't update. So the way it works is that every time someone goes on it checks if it got updated in the last 15 minutes, if not then it updates,if yes then it just loads the static page.
So it's not 100% static, but very close. Only the logger, a bit of code and then the static page load, compared to all the sql queries there is to process the home page.
So these queries will only happen every 15 minutes or so.
I will eventually do this with the articles as well but it will be more complicated to program.
Archived topic from Iceteks, old topic ID:2612, old post ID:21539
So it's not 100% static, but very close. Only the logger, a bit of code and then the static page load, compared to all the sql queries there is to process the home page.
So these queries will only happen every 15 minutes or so.
I will eventually do this with the articles as well but it will be more complicated to program.
Archived topic from Iceteks, old topic ID:2612, old post ID:21539