Costas' example did not modify Turbine source. It extended the tool.
You then modify TR.props to use the extended tool.
john mcnally
Andrea Papotti wrote:
>
> Is it possible to do the same thing without modifing Turbine surce, but by
> using VTL's .addPathInfo() in a Velocimacro ?
> (although I don't know how to get current time via VTL)
>
> Andrea.
>
> ----- Original Message -----
> From: "Costas Stergiou" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 07, 2001 10:07 AM
> Subject: Re: Browser cache control
>
> > Having searched on this issue, I realized that not all browsers
> > (or their versions) behave always as expected with these directives.
> > What I did to solve a similar problem was to subclass the
> > TemplateLink class and add some code to always add a dummy
> > path info variable so that the browser thinks that this is a different
> > url. Below is the code.
> >
> > public class TemplateLinkEx extends TemplateLink {
> > public TemplateLinkEx() {
> > super();
> > }
> >
> > public TemplateLinkEx(RunData data)
> > {
> > super(data);
> > addPathInfo("nocacheid", new java.util.Date().getTime());
> > }
> > }
> >
> > I hope that helps.
> > Costas
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]