Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: WXP on July 13, 2001, 08:59:32 PM
-
How ?
thanx ;-)
-
squid -z ?
You are welcome ;-)
-
it helps if you stop hte service first!
-
Sorry - i should have gien the complete instructions, here we go then :)
logon to the esmith from your favourite term-emulator or the console and type the following
service squid stop (this stops the service)
squid -z (this rebuilds the cache and swap directories)
service squid start (this starts squid again)
hope this helps - let us know if it does - there are loads of threads that nefer seem to acknowledge or inform the next person if the info solved the Q.
Best of luck
Gavin
-
i dont know if it works because i just reinstalled my e-smith server but i^'ll try to notify if i see something l8er..
-
squid -z will rebuild the cache and swap directories, but will not clear the cache...
To do that:
service squid stop
echo "" > /var/spool/squid/swap.state
service squid start
This overwrites the squid cache with 1 byte of garbage, in effect clearing it.
-
How ?
"Why?" is another relevant question. The squid cache saves you time (and in many cases money). You can always refresh individual items in the cache using appropriate browser key combinations (unfortunately they differ between browsers).
-
The "why" would be that selective refresh by use of various key combinations (CTRL in IE) will not refresh framed content reliably.