Guym I don't know how to hook the "?", is there any other pattern you can use ? (eg. asp, jsp, php, aspx, path ?) Regards, Pablo On 12/5/06, CARTWRIGHT, Guy, GBM <Guy.CARTWRIGHT@xxxxxxxx> wrote:
> 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. I've got the URLs to cache ok, it's getting them to refresh after 5 minutes is where I'm having problems as the following fresh pattern seems to have no effect: refresh_pattern \? 5 100% 5 override-expire Does this look correct, or am I missing something? > Hope this helps, > > Regards , Pablo > > On 12/4/06, CARTWRIGHT, Guy, GBM <Guy.CARTWRIGHT@xxxxxxxx> 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@xxxxxxxx> 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 > > *********************************************************************************** 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 ***********************************************************************************