cache post-processor

Maxim Dounin mdounin at
Sat Oct 31 15:02:00 MSK 2009


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.

Maxim Dounin

More information about the nginx mailing list