Re: [squid-users] Pre-populating web cache?

From: Yang Zhang <yanghatespam_at_gmail.com>
Date: Fri, 10 May 2013 14:04:21 -0700

On Fri, May 10, 2013 at 6:30 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 10/05/2013 2:41 p.m., Yang Zhang wrote:
>>
>> I have a database of HTTP requests and responses which I'd like to
>> "import" into Squid so it can serve from this cache. Is there any
>> documentation/resources describing the data organization/layout of a
>> Squid cache directory, plus any gotchas/pitfalls I may want to be
>> aware of? Thanks.
>
>
> It is certainly possible with any of the caches.
> There are some gotchas:
> 1) Squid must not be using the cache at the time new content is added,
> 2) you must remove any swap.state journal (may be inside one of the storage
> system entries).
> 3) Squid may drop your added content if its too old by the time its needed.
>
> Unfortunately I'm not sure if the formats are documented clearly anywhere.
> Its about time they were so I will have a look around for you and look into
> writing some if necessary.
>
> HTH
> Amos

That would be very helpful - I really appreciate it.
Received on Fri May 10 2013 - 21:04:49 MDT

This archive was generated by hypermail 2.2.0 : Sat May 11 2013 - 12:00:05 MDT