Gossamer Forum
Home : General : Perl Programming :

To SSI or not to SSI in Webadverts ???

Quote Reply
To SSI or not to SSI in Webadverts ???
Hello guys...I'm curious about something...

I'm installing Webadverts on a customer site, this site have around 10000 visitors a day, my concern is... What would cause less stress on the server... using Webadverts with Server side includes, or without it ???

On the Webadverts documentation, the author says that one should always try to use SSI since banners are processed slighly faster...but I wonder...isn't it better for the server to process a script call only, than doing the script call plus parsing the html doc for server side includes??? Am I right on this???

Thanks...John

[This message has been edited by JohnHark (edited April 02, 1999).]
Quote Reply
Re: To SSI or not to SSI in Webadverts ??? In reply to
John,

I would think that, indeed, it would put more stress on the server to use both. So, you need to decide on one method or the other. The question then becomes, which one works without the other? Can you use a script without SSI? Can you use SSI without the script? If the answers are yes and no, respectively, the solution is clear. Go with the one that works without the other.

If the answers to both questions are yes (which I doubt), flip a coin! Smile
Quote Reply
Re: To SSI or not to SSI in Webadverts ??? In reply to
Hello Bobsie, how ya doing buddy! (BTW...the country-based version of links ended pretty good, although I haven't deploy it on a real-life situation yet)

As with the webadverts question...well in this case it is possible to use the script without SSI, only with the script call (using an IMG tag instead of a SSI)...so I guess I'll go with that option.

BTW...do you know something about cookies and javascripts/cgiscripts ??... I'm pondering a little new project of creating a country-based (hehe..me and my "country-based-things") implementation of Webadverts, so I can display ad banners on a site targeted to specific countries.

Seeya...John

Thanks, seeya around...John

[This message has been edited by JohnHark (edited April 02, 1999).]
Quote Reply
Re: To SSI or not to SSI in Webadverts ??? In reply to
My experience has been that SSI does not add that much load to the server, it's pretty insignificant to the effort involved in forking, loading perl, compiling the script and running Webadverts.

Best bet though is to try and see. =)

Cheers,

Alex