TR: [squid-users] How to force squid to cache files when using auth ?

From: Thomas Bergerot <tom_at_radioshop.net>
Date: Fri, 11 Dec 2009 09:19:19 +0100

Hi Chris,

Thank you for your answer.

I don't understand the purpose of the "refresh_pattern" option in the doc.

Could you send me a sample to make Squid work like i want (ie to enable the use of the swap when a request is used with an auth) please ?

Thank you very much for your precious help.

Regards,

Thomas

-----Message d'origine-----
De : Chris Robertson [mailto:crobertson_at_gci.net]
Envoyé : jeudi 10 décembre 2009 22:12
À : squid-users_at_squid-cache.org
Objet : Re: [squid-users] How to force squid to cache files when using auth ?

Thomas Bergerot wrote:
> Hi everyone,
>
> I'm using squid to cache files inside our network.
>
> When the requests are not using authentication, the files are cached in the swap directories.
>
> I've got a software that uses basic authentication with the server to download files, and i noticed that Squid is not caching files when a basic auth is used in the request.
>
> Could anyone tell me if there is a way to force Squid to cache the files even when using auth in GET/PUT requests please ?
>
> Thank you very much for your help, and have a nice day :)
>
> Regards
>
> Thomas
>

See the "ignore-private" option to cache_control
(http://www.squid-cache.org/Doc/config/refresh_pattern/). Be aware that
requests for cached content will NOT be prompted for authentication.

Chris
Received on Fri Dec 11 2009 - 08:18:36 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 11 2009 - 12:00:02 MST