Can varnish be used on a e-commerce website where almost all pages are dynamic?
Per Buer
perbu at varnish-software.com
Tue Dec 27 10:40:13 CET 2011
Hi,
On Fri, Dec 23, 2011 at 12:26 PM, Lx Yu <lixinfish at gmail.com> wrote:
> Hello, I'm working on a e-commerce site, and the content of it is almost
> fully dynamic.
>
> Most user must login to purchase, and every login user in have a
> collection of personalized items displayed in every page.
Yes. As someone already pointed out - mostly people use ESI for this. Or
Javascript.
And every item's status is in real-time(whether it's in stock, and how many
> left).
>
That's a rather soft real time requirement. You can probably cache those
for at least a second or two or ten. Nobody will know and your database
will love it.
So for now, we dynamically generate every webpage, and use a CDN to
> delivery all static files(images, css, js).
>
> Then, can varnish be used in such situation where almost all things is
> dynamic?
Yes.
--
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111227/38955b35/attachment.html>
More information about the varnish-misc
mailing list