Welcome! Log In Create A New Profile

Advanced

How to cache pages that are mostly static but has a "logged in" bar?

April 24, 2011 08:12PM
I have pages that are generated dynamically but don't change all that often. Would like to use Nginx to cache those pages.

However every page has a "log in" bar at the top, similar to this forum. A logged-in user would see his name and a "log out" link. A user who isn't logged in would see links to "log in" or to "register".

How do I cache a page like this where there is a small element that needs to be personalized? Normally this is a job for ESI, but Nginx doesn't support ESI. Any suggestions?

Thanks.
Subject Author Posted

How to cache pages that are mostly static but has a "logged in" bar?

Andy April 24, 2011 08:12PM

Re: How to cache pages that are mostly static but has a "logged in" bar?

Andy April 24, 2011 08:15PM

Re: How to cache pages that are mostly static but has a "logged in" bar?

Splitice April 24, 2011 10:46PM

Re: How to cache pages that are mostly static but has a "logged in" bar?

Andy April 25, 2011 04:58PM

Re: How to cache pages that are mostly static but has a "logged in" bar?

fjctlzy April 24, 2011 10:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
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