Forum Moderators: phranque

Message Too Old, No Replies

Can I have 6 SSI on one page?

Are there disadvantages to having too many per page?

         

Rightz

5:52 pm on May 19, 2006 (gmt 0)

10+ Year Member



Hi,

I'm putting together a site. The navigation is broken up into various boxes. I was thinking about putting seperate SSI for each of these.

Are there any reasons why I shouldn't do this?

Thanks

jdMorgan

7:49 pm on May 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Each SSI call adds a small overhead. If your server is terribly busy, then doing this will slow it down a little, possibly throwing it over the edge into overload. Otherwise, I'd say that you're contemplating using SSI exactly as it was intended to be used. There are a lot of sites out there that use SSI to include bits and pieces, and probably even more now that use PHP to build the entire page. Both increase the CPU load, but improve efficiency of design and/or maintenance.

My attitude is that the computer (server) should work for me, and not vice-versa. :)

Try it on one (busy) page, and see.

Jim