You have to play with the refresh_pattern to get this cached for 5
minutes, and remove the question mark "?" from the no_cache directive
to instruct Squid to be able to cache url with question marks.
Hope this helps,
Regards , Pablo
On 12/4/06, CARTWRIGHT, Guy, GBM <Guy.CARTWRIGHT@rbos.com> wrote:
> > Look for nocache directive or cache directive in 2.5
>
> How can I specify a time limit of 5 minutes with the no_cache directive?
>
> Can you explain further please...
>
> > Regards, Pablo
> >
> > On 12/4/06, CARTWRIGHT, Guy, GBM <Guy.CARTWRIGHT@rbos.com> wrote:
> > > Hi
> > >
> > > I need squid to cache URLs with query strings for a maximum of 5
> > > minutes regardless of expires/max-age headers.
> > >
> > > Tried the following but to no avail:
> > >
> > > refresh_pattern \? 5 100% 5 override-expire
> > >
> > > Is this requirement possible using the refresh_pattern
> > setting, or do
> > > I need to try an alternative approach? Any help would be
> > appreciated.
> > >
> > > Regards
> > >
> > > Guy
> > >
>
> ***********************************************************************************
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the
> addressee only. If the message is received by anyone other
> than the addressee, please return the message to the sender
> by replying to it and then delete the message from your
> computer. Internet e-mails are not necessarily secure. The
> Royal Bank of Scotland plc does not accept responsibility for
> changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the
> transmission of viruses, it is the responsibility of the recipient to
> ensure that the onward transmission, opening or use of this
> message and any attachments will not adversely affect its
> systems or data. No responsibility is accepted by The
> Royal Bank of Scotland plc in this regard and the recipient should carry
> out such virus and other checks as it considers appropriate.
> Visit our websites at:
> http://www.rbos.com
> http://www.rbsmarkets.com
> ***********************************************************************************
>
Received on Mon Dec 04 2006 - 15:21:59 MST
This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST