On 8 November 2011 12:22, S Ahmed <[email protected]> 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

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to