[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: WebServer: caching responses
From: |
Richard Frith-Macdonald |
Subject: |
Re: WebServer: caching responses |
Date: |
Fri, 22 Jul 2011 08:38:04 +0100 |
On 22 Jul 2011, at 08:24, David Ayers wrote:
>> That being said, it's trivial to cache the body of static responses (I
>> would just use an instance of GSCache to store the body, and put that
>> in the response) ... which gets you a reasonably fast result, but will
>> still produce rather more cpu load than using apache would.
>
> I suppose you mean NSCache?
I meant GSCache (from the performance library) which predates NSCache.
The NSCache API looks like it may have been modelled on GSCache, but GSCache
still provides a bit more control over the rules about when an object gets
removed from the cache.