things to consider with caching an ecommerce website
Laurence Rowe
l at lrowe.co.uk
Tue Nov 8 21:42:14 CET 2011
On 8 November 2011 12:22, S Ahmed <sahmed1020 at gmail.com> wrote:
> What are the things you have to consider with using varnish on say an
> ecommerce website?
> Pages that display the product, assuming no customization for logged in
> users, means I can serve cached pages to both logged in and anonymous users.
> But if I want to display the logged in users name on the page, that means
> the page cannot be cached correct?
You can show the logged in user's name on a cached page using either
ESI or some simple javascript (set some user data on a cookie on
login, display this in appropriate place with javascript.)
Laurence
More information about the varnish-misc
mailing list