Purge of those dynamic url return 404

View: New views
2 Messages — Rating Filter:   Alert me  

Purge of those dynamic url return 404

by Montaque :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I use the squid 2.6 server as the acceleartion mode.

and override the default setting to eanble the caching of dynamic url (those contains ?)

like http://www.example.com?a=123

I can see those content are cached via the accesslog, which says MEM_HIT.

after I try to purge those content
squidclient -m PURGE http://www.example.com?a=123
it always return 404, not found

those url without ? works fine, which returns 200 and confirm the purge is successful.

Is there any hints to purge those dynamic content( url has question mark , but cachable)

appreciated!

Re: Purge of those dynamic url return 404

by Luis Daniel Lucio Quiroz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mardi 3 novembre 2009 18:53:05, Montaque a écrit :

> I use the squid 2.6 server as the acceleartion mode.
>
> and override the default setting to eanble the caching of dynamic url
>  (those contains ?)
>
> like http://www.example.com?a=123
>
> I can see those content are cached via the accesslog, which says MEM_HIT.
>
> after I try to purge those content
> squidclient -m PURGE http://www.example.com?a=123
> it always return 404, not found
>
> those url without ? works fine, which returns 200 and confirm the purge is
> successful.
>
> Is there any hints to purge those dynamic content( url has question mark ,
> but cachable)
>
> appreciated!
>
Did you try the squid-purge utility, it is in squid 3th parti programs