On Nov 14, 2007 6:31 PM, Anthony DiPierro <dipierro(a)gmail.com> wrote:
> On Nov 14, 2007 5:48 PM, George Herbert <george.herbert(a)gmail.com> wrote:
> > I am not a Javascript guy, so I apologize in advance if this is a dumb
> > question, but... Is it possible to make {{USERNAME}} some javascript which
> > expands it on the client side, so the server just provides that JS to the
> > browser and lets you figure it out? That would be the same JS code for
> > everyone, so the underlying parsed article would stay in memcached
> > unchanged...
> >
> Yes, but:
>
> 1) that wouldn't work for logical constructs, and
> 2) it wouldn't work for people who don't have javascript enabled.
>
> As it wouldn't work for logical constructs, might as well just make a parse
>
Hit send prematurely:
As it wouldn't work for logical constructs, might as well just make a
single pass substitution of the cached parsed article.