View Single Post
Old 11-14-2004, 12:12 PM  
crockett
in a van by the river
 
crockett's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 76,818
Quote:
Originally posted by garett
The more includes you have the more of a performance hit you will take .. but that performance hit can be almost completely illiminated by using PHP with a compiler cache.

Without a compiler cache I don't think using PHP would be faster than SSI.. but with the compiler cache all the includes would be performed once.. then the PHP script would compiled and cached so all your includes would essentially be run once every so often (when the cache expires) rather than on every single request ... which would virtually illiminate the overhead of having all those includes.
If I did this I assume you are meaning compiling each page in let's say Zend or something similar.. Would the SE engines still be able to crawl the pages if I did that? That is the most imporant goal is to be SE friendly.

I like the idea of doing the pages in PHP becouse I could make the pages a little more dnymanic that way.

However I know almost nothing about PHP, but I can learn what ever I need to.. I'm just trying to do this right from the start, becouse I'm building these pages mostly by hand so I don't want to redo them anytime soon.

__________________
In November, you can vote for America's next president or its first dictator.
crockett is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote