Welcome! Log In Create A New Profile

Advanced

cache post-processor

冉兵
October 31, 2009 02:46AM
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
Subject Author Posted

cache post-processor

冉兵 October 31, 2009 02:46AM

Re: cache post-processor

Maxim Dounin October 31, 2009 08:08AM

Re: cache post-processor

冉兵 November 01, 2009 01:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready