1 thepieman Oct 15, 2005 10:05
3 thepieman Oct 16, 2005 02:55
Thanks personman. I appreciate the reply.
Pie
4 stk Oct 16, 2005 06:43
Thepieman,
The sole purpose of a "static" page, is to lessen the load on the server. Each time someone requests your page, PHP code and the database need to be run and accessed. This is a drain on the server. But ONLY if you're receiving thousands of hits every minute.
Unless you're getting this kind of traffic (I pulled the "thousands of hits every minute" out of the air ... but you get the point), there's no need (or justification) to generate static pages (which are pre-generated, HTML-only pages that are less server-intensive to serve).
Make sense?
(Personperson pretty much handled it, but I thought I'd chime in too.)
Cheers,
-stk :D
5 thepieman Oct 16, 2005 07:58
stk wrote:
Thepieman,
The sole purpose of a "static" page, is to lessen the load on the server. Each time someone requests your page, PHP code and the database need to be run and accessed. This is a drain on the server. But ONLY if you're receiving thousands of hits every minute.
Unless you're getting this kind of traffic (I pulled the "thousands of hits every minute" out of the air ... but you get the point), there's no need (or justification) to generate static pages (which are pre-generated, HTML-only pages that are less server-intensive to serve).
Make sense?
(Personperson pretty much handled it, but I thought I'd chime in too.)
Cheers,
-stk :D
Yes it does. Thanks a lot for your help ladies/gents!
Pie
Unless you have a good reason to, don't generate it at all. You can make a static version of your front page, which means it's html, not php, so it can be served a bit faster. Unless your site gets hundreds of thousands of hits a day, and you're seeing performance problems, you don't need it. It's much better to serve dynamic php pages.