<html><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">On 07/ago/2011, at 22:42, "Kevin" <<a href="mailto:k@kevinkevin.com">k@kevinkevin.com</a>> wrote:</span><br></div><div><br></div><div></div><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">The problem is varnish is having a very very difficult time knowing when to pipe or pass the traffic to the backend webserver if a logged in session happens. It seems that unless you patch joomla to do its own internal checks and determine if a user is anonymous or not, and send a custom http header that varnish can read, there is no other real way to make varnish work with joomla.</span></p></div></div></blockquote><div>Hi Kevin!</div><div><br></div><div>You can accomplish this by writing a Joomla plugin that does these things.</div><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"><o:p></o:p></p></div></div></blockquote><div>There are example plugins in the Joomla wiki (I'm loitering outside and don't have access right now, sorry!) and I believe there is a simple plugin example provided in the 1.5 distribution.</div><div><br></div><div>Essentially think of Joomla plugins as database triggers and stored procedures. When a specific event fires in the execution stack, any plugins for that event are fired as well.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>-- Mitch</div></body></html>