Search squid archive

Re: Ignore part of a URL for caching

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

 



Thanks Leonardo, I have everything working as required :)


On Fri, Aug 13, 2010 at 11:32 AM, Leonardo Rodrigues
<leolistas@xxxxxxxxxxxxxx> wrote:
>
>    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@xxxxxxxxxxxxxx
>        My SPAMTRAP, do not email it
>
>
>
>
>



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

  Powered by Linux