You are here: Re: File extensions « All PHP « IT news, forums, messages
Re: File extensions

Posted by Stuart Millington on 02/27/07 01:18

On Tue, 27 Feb 2007 01:55:03 +0100, "J.O. Aho" <user@example.net>
wrote:

>There is those who uses
>
> AddType application/x-httpd-php .html
>
>Which will cause the server to work extra as it will parse all html files, of
>which most usually don't have any php at all.

And it can mess up caching - as html files are usually static, whereas
php files have "on the fly generation times" - unless one is careful.
Can be useful, but not a good thing to do without looking at the
server load, as you mention, and bandwidth consequences.

--
------------------------------------------------------------------
- Stuart Millington ALL HTML e-mail rejected -
- mailto:phupp@dsv1.co.uk http://www.z-add.co.uk/ -

 

Navigation:

[Reply to this 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

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