Search squid archive

Re: How can i remove an entry from the current cache using squid client?

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

 



Paulo Lopes wrote:
I've installed squid and cached 2 requests, and I can see then using:

[squid@test squid]# /usr/sbin/squidclient -p 80
cache_object://localhost/objects
HTTP/1.0 200 OK
Server: squid/2.7.STABLE4
Date: Fri, 26 Sep 2008 08:35:34 GMT
Content-Type: text/plain
Expires: Fri, 26 Sep 2008 08:35:34 GMT
X-Cache: MISS from test
Via: 1.0 test:80 (squid/2.7.STABLE4)
Connection: close
KEY 134E77B5F13E86B8585D7FE0AF1CE79E
        GET http://127.0.0.1/app/servlet?p1=992567224&p2=2.4
        STORE_OK      IN_MEMORY     SWAPOUT_DONE PING_DONE
        CACHABLE,DISPATCHED,VALIDATED
        LV:1222351389 LU:1222351521 LM:-1        EX:-1
        0 locks, 0 clients, 3 refs
        Swap Dir 0, File 00000000
        inmem_lo: 0
        inmem_hi: 718
        swapout: 718 bytes queued
KEY 7FB72FC4992B0B2642793622D4C67347
        GET http://127.0.0.1/app/servlet?p1=992567224&p2=2.2
        STORE_OK      IN_MEMORY     SWAPOUT_DONE PING_DONE
        CACHABLE,DISPATCHED,VALIDATED
        LV:1222351389 LU:1222351521 LM:-1        EX:-1
        0 locks, 0 clients, 3 refs
        Swap Dir 0, File 0X000001
        inmem_lo: 0
        inmem_hi: 519
        swapout: 519 bytes queued
KEY 3F7E6EB1215D6456CB2C6576D4465E9D
        GET cache_object://localhost/objects
        STORE_PENDING NOT_IN_MEMORY SWAPOUT_NONE PING_NONE
        RELEASE_REQUEST,PRIVATE,VALIDATED
        LV:-1        LU:1222418134 LM:-1        EX:1222418134
        3 locks, 1 clients, 1 refs
        Swap Dir -1, File 0XFFFFFFFF
        inmem_lo: 0
        inmem_hi: 1042
        swapout: 0 bytes queued
        Client #0, 0x88733d8
                copy_offset: 1042
                seen_offset: 1042
                copy_size: 4096
                flags:
Now say I'd like to remove the 1st entry I do: Squidclient -p 80 -m PURGE
"http://127.0.0.1/app/servlet?p1=992567224&p2=2.4";
But I get a 404 and nothing is really purged. How can I purge it?

Don't quote the URL.

Otherwise thats correct.

Amos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9

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

  Powered by Linux