cache post-processor

冉兵 bing_ran at hotmail.com
Sun Nov 1 09:38:15 MSK 2009


Thanks Maxim.

Does this module work well with Nginx cache?


--------------------------------------------------
From: "Maxim Dounin" <mdounin at mdounin.ru>
Sent: Saturday, October 31, 2009 8:02 PM
To: <nginx at sysoev.ru>
Subject: Re: cache post-processor

> Hello!
>
> On Sat, Oct 31, 2009 at 02:41:03PM +0800, 冉兵 wrote:
>
>> Hi,
>>
>> I'm wondering how this can be done:
>>
>> I'd like to take advantage of the Nginx cache, but some part of the html 
>> content is depending on the value of a cookie, for example, the name of 
>> the current logged in user. e.g.
>>
>> <html>
>> <body>
>>   Hello, $user
>> </body>
>> </html>
>>
>> The html originates from an up stream and is cached.
>>
>> I'm wondering if there is mechanism to allow me to plug  in a processor 
>> and manipulate the content prior to sending out.
>
> http://wiki.nginx.org/NginxHttpSsiModule
>
> Maxim Dounin
>
> 





More information about the nginx mailing list