Re: Cache Module that Caches EVERYTHING

Ian Holsman <[email protected]> Thu, 13 Nov 2003 11:03:08 +1100
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
this is the hook in question.
http://lxr.webperf.org/source.cgi/modules/experimental/mod_cache.h#338

there may be some other things you need to do to the cache to make it 
actually want to cache the content.
this just makes it differentiate based on query args.

On 13/11/2003, at 10:46 AM, Eli Marmor wrote:

> Ian Holsman wrote:
>
>> I *believe* that the cache-disk/memcache in apache 2
>> could do this.
>> you would need to override the key generation (via the optional hook)
>> to make the queryargs part of the name.
>
> Wow.
>
> My plan was that if there is not such a module, I would patch mod_cache
> and/or its sub parts (mem/disk/etc.) to do exactly what you wrote.
>
> But I haven't thought about this hook. Overriding it looks simpler and
> more elegant.
>
> Your answer is so simple but so brilliant...
>
> And it's the third SUCCESSIVE time that a question of me is answered by
> you (maybe it's finally the time to take a look at your wish list ;-)
>
>
> In any case, if anybody else knows a module which does EXACTLY what I
> need, he is still welcome to tell about it.
>
> Thanks,
> -- 
> Eli Marmor
> [email protected]
> CTO, Founder
> Netmask (El-Mar) Internet Technologies Ltd.
> __________________________________________________________
> Tel.:   +972-9-766-1020          8 Yad-Harutzim St.
> Fax.:   +972-9-766-1314          P.O.B. 7004
> Mobile: +972-50-23-7338          Kfar-Saba 44641, Israel
>
--
Ian Holsman
Director
Network Management Systems
CNET Networks
PH: (61) 3-9857-3742 (Australia)/ 415-344-2608 (USA)