Reply to Re: .htaccess route to php on .html

Your name:

Reply:


Posted by Jerry Stuckle on 09/08/07 20:40

J.O. Aho wrote:
> Michael Fesser wrote:
>
>> Nope, I know at least three different ways (MultiViews and mod_rewrite
>> are the other two). All have their benefits and drawbacks. I just don't
>> accept "parsing all .html for PHP wastes resources" as a general rule
>> without knowing more details. Especially if all pages contain PHP as in
>> this case - then the "waste" would be exactly the same with .php URLs.
>
> If you can ensure that there never will be plain HTML pages, then the load
> will be the same, but as you can't and the OP wrote, not all of the pages
> contains PHP, so there will be waist of CPU capacity parsing all HTML as PHP.
>

He just doesn't understand everything PHP must do to initialize the
page. He thinks it's the same amount of overhead as parsing for SSI's.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация