Search squid archive

Re: what does Squid do if two files have the same content and different file name?

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

 



On 22/08/11 13:54, Raymond Wang wrote:
Hi, all:

    In our company, the business logic is common: different URL  may
refer to the same content files. so in order to optimize the usage of
memory, it is better that Squid would keep only object cached when the
content is equal to each other for several files.

    does squid support this feature? if so, how can I configure it?

In HTTP these are two separate objects. Either URL may change without notice independent of the other. Even if the source files on disk is identical at all times HTTP may transfer two non-identical variants based on negotiated content settings.

To make them the same object in HTTP one of the locations should be a 3xx redirect response pointing at the other source.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.14
  Beta testers wanted for 3.2.0.10


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

  Powered by Linux