Perrin Harkins wrote:
> On Tue, 2006-07-11 at 09:50 -0400, cfaust-dougot wrote:
> 
>> What I have below works, but for some reason I'm not all that
> comfortable with
>> it.. Could someone tell me if I'm doing anything evil with my
> approach??
> 
> Looks fine to me.  SSI virtual includes are quite efficient with
> mod_perl.

They are efficient, but you still need to be careful. At ApacheCon::EU they
mentioned changing all apache.org sites to include a banner ad for the next
ApacheCon that would rotate and they used SSI to do it. It increased their
traffic 2-3x because it broke all of the caching happening at browsers, routers
and proxies.

If the content is truly dynamic, then it's a good solution. If it's content that
rarely changes, pre-generation is probably a better solution.

-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to