RE: [EMAIL PROTECTED] Combining caching and rewrites

2008-11-26 Thread Tamer Embaby
Wi, Apache mod_cache hooks itself before mod_rewrite (APR_HOOK_FIRST vs. APR_HOOK_MIDDLE), so the cache will get called first, if content doesn't exist, request will be passed to next handler which is mod_rewrite, which will handle getting the page, then Apache will CACHE_SAVE the response so that

Re: [EMAIL PROTECTED] Combining caching and rewrites

2008-11-25 Thread Eric Covener
On Tue, Nov 25, 2008 at 8:20 PM, wi <[EMAIL PROTECTED]> wrote: > Hi All > > I have a response from an expensive backend service that I would like > to cache. We already do some caching of static content, and that works > fine. However, the response that I want to cache is normally generated > by a