Search squid archive

Caching based on header/etag

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

 



Hi all,

I've setup squid to proxy everything to a single server I have.

Based on a header, I might want to serve a different version of a file
for example for:

X-MY-HEADER: 1
URL: /css/style.css

Would not be the same as:

X-MY-HEADER: 2
URL: /css/style.css

Ideally though I'd like to be able to cache both.

Can I get squid to somehow differentiate based on an incoming header?

Failing that, I'm generating an etag on the server that's a hash of
the content. Will this be enough to distinguish between the different
files?

Thanks
Tom




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

  Powered by Linux