Brian <hiryuu@envisiongames.net> wrote:
> First, squid, to my knowledge won't cache an item if it expires in under 1
> minute. You may need to settle for having the items expire after 2
> minutes.
- Or patch Squid. I use this, and it works:
--- squid-2.4.STABLE1-orig/src/refresh.c Sun May 13 03:38:24 2001
+++ squid-2.4.STABLE1/src/refresh.c Sun May 13 03:38:50 2001
@@ -327,7 +327,7 @@
* 60 seconds delta, to avoid objects which expire almost
* immediately, and which can't be refreshed.
*/
- int reason = refreshCheck(entry, NULL, 60);
+ int reason = refreshCheck(entry, NULL, 1);
refreshCounts[rcStore].total++;
refreshCounts[rcStore].status[reason]++;
if (reason < 200)
-- Greetings from Troels Arvin System administrator at TV 2/interaktivReceived on Wed Feb 27 2002 - 09:48:30 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:34 MST