Quote:
Originally posted by garett
Another thing you can do.. if you want to be as SE-friendly as possible and have the benefit of a compiler cache without actually having to install and configure one is what I do on my TGPs..
I run php on the command line to generate static pages. So for example..
$ php -q main.php > index.html
You can set that up with cron so that it runs once per day, or every 5 minutes or whatever you need to keep your site updating when it's supposed to. With this you have pretty much all the benefits of a compiler cache (the script is compiled more often than it would be with a cache but surfers get a static page which is faster than PHP no matter what - even with a cache) and you illiminate any SE un-friendliness that PHP might introduce.
|
Great idea!
A true HTML page is the best for SE. Even pages with .html extensions which are dynamically created can send HTTP headers which reveal the page was built on the fly (depending on how the server is configured).
-Dino