cache post-processor

冉兵 bing_ran at hotmail.com
Sat Oct 31 09:41:03 MSK 2009


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.

Thanks!

Bing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091031/aff942ee/attachment.html>


More information about the nginx mailing list