varnish server-side caching
perbu at varnish-software.com
Fri Aug 31 15:15:02 CEST 2012
I would recommend that you read through these:
I'm guessing you have a Vary: Cookie coming from the backend.
On Fri, Aug 31, 2012 at 7:49 AM, [Digital^Dude] ®
<millennium.bug at gmail.com>wrote:
> Every time I open the website from a different PC, the website loads from
> the backend. I can see that from the way the page loads, as well as from:
> varnishtop -b -i TxURL
> However, if I access the browsed pages again, it loads rapidly.
> Is this what varnish is meant to do? I mean, for server-side caching, it
> should load pages to each client from the same cache that is present on the
> server once it is created (as soon as the first visitor comes on the
> And it should only expire the cache when TTL is reached.
> The result of this should be that the website should appear slow only for
> the very first visitor and not after that to any visitor until ttl.
> On Thu, Aug 30, 2012 at 6:41 PM, [Digital^Dude] ® <
> millennium.bug at gmail.com> wrote:
>> My default.vcl is attached.
>> On Thu, Aug 30, 2012 at 6:36 PM, Enno van Amerongen <enno at tty.nl> wrote:
>>> *From:* [Digital^Dude] ® [mailto:millennium.bug at gmail.com]
>>> *Subject:* varnish server-side caching
>>> Hi guys,
>>> I set up varnish 3.0.3 on my centos box. I have magento running on a
>>> website. Once the website is opened, it browses rapidly. But every time a
>>> new user lands on the website, it takes ages to load the first page. If
>>> varnish does server-side caching, shouldn't it pick up the index page from
>>> the cache and spit it out?
>>> Please suggest what I can do to make the initial hit on the website as
>>> speedy as the rest of the surfing hits.
>>> So, what does your VCL look like? what headers are you setting on the
>>> backend? what about cookies?
>>> Maybe this will help:
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
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> |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc