Re: [squid-users] Ignore part of a URL for caching

From: Leonardo Rodrigues <leolistas_at_solutti.com.br>
Date: Fri, 13 Aug 2010 12:32:57 -0300

     i believe you can do it and the topics/wiki articles about youtube
caching should give you interesting points about that.

Em 13/08/2010 12:17, david robertson escreveu:
> Hello, I have a question concerning the caching of specific URLs:
>
> I'm currently using squid in an accelerator config, and everything is
> working perfectly fine. However I've just been given a request to
> ignore part of a URL when it comes to caching. For example:
> http://domain.com/v/subdir/subdir/file.js?variable1=variable1&variable2=variable2&variable3=variable3
>
> What they're asking is for this URL to be cached, but ignore variable2
> in the cache string. In other words, cache it as
> http://domain.com/v/subdir/subdir/file.js?variable1=variable1&variable3=variable3
>
> From what they told me, variable2 is dynamic and is different on every
> hit. I have no idea why they do this, since it's exactly the same
> page served every time. This obviously fills the cache with the exact
> same content for thousands of different URLs.
>
> We can do this with Akamai, have them not include part of the URL as
> the cache key, but can this be done with squid?
>

-- 
	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br
	Minha armadilha de SPAM, NÃO mandem email
	gertrudes_at_solutti.com.br
	My SPAMTRAP, do not email it
Received on Fri Aug 13 2010 - 15:33:21 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 14 2010 - 12:00:02 MDT