Forum Moderators: coopster

Message Too Old, No Replies

will adding site wide php parsing on html pages hurt performance?

         

deras

10:54 pm on Nov 6, 2003 (gmt 0)

10+ Year Member



i know if you ammend htaccess with

AddHandler application/x-httpd-php .php .html

it will allow me to put php in my html pages.

question, will this hurt site performance at all?

is this a better move than using javascript or ssi includes.

basically i have mostly html pages and i wanted to add a site wide include which would all me to add a uniform header across my site.

Robber

12:30 am on Nov 7, 2003 (gmt 0)

10+ Year Member



It does give your server a bit more work to do but we have found the pros far outweigh the cons and from a user perspective they can hardly see the difference.

I guess a lot may depend on the spec of your server though.

Oh yeah, and welcome to WebmasterWorld.