Search squid archive

Re: Cache fetching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, so I just can make a script and control it by cron, depending on what time
Am I going to set, the offline_mode can toggle form ON to OFF or OFF to ON.

Thank you very much for your extended understanding and help

Regards,

Wennie

Quoting Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>:

> tor 2006-04-27 klockan 16:21 +0300 skrev Wennie V. Lagmay:
>
> > forgive me for my stupidity, but I just want to clear this setup, I really
> > dont understand it because I never use and see cachemanager menu. Ok does
> it
> > mean that I can issue a command on linux command promt with "squidclient
> > mgr:offline_toggle" or add a line inside the squid config with
> > "cache_object://localhost:3128/offline_toggle"
>
> It's a command. The mgr: argument to the squidclient command is a
> shorthand for the indicated URL to Squid.
>
> > Remember my objective is to set automatically the offline_mode to "ON" when
> > there is no bandwitdh available, so that the squid will never validate
> > cached objects and  will give dead pages to the clients, then  turning if
> > "OFF" when the bandwidth is available so that squid will validate
> > cached_objects.
> >
> > Can you please provide me with a quidelines or link so that I can
> understand
> > the procedure on how am I going to do it.
>
> When there is no bandwidth, issue "squidclient mgr:offline_toggle".
>
> When there again is bandwitdh, issue "squidclient mgr:offline_toggle"
> again to tell Squid to revert to normal operations.
>
> Regards
> Henrik
>





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux