> You don't say if your 30GB is 30M 1k objects or 3M 10k object
It's mostly >50kb <2MB SWF, PNG, MP3, FLV files. 360232 of them.
> trim this somewhat down with the obj_workspace paramter), so 50GB
> may not be enough to hold 30GB of objects.
Well my problem is that I don't even hit the 30GB limi
Hi everyone,
I'm running varnish (2.0.2) on Linux x64 inside Virtuozzo Containers 4.0.
The container has got 2GB core memory assigned.
I have a backend that holds about 30GB binary objects. Varnish is set to
assign a ttl of 30 days to each object it caches.
I start varnish with -s file,/var/lib/
> on my setup i only have one host. i'm sure you can restrict that to one single
> host, but i don't know by heart.
I don't think you can. At least I couldn't find any method to do host based
purging without using the PURGE HTTP Method.
> if url.purge can't do that you can setup url purging
>
> From: Sébastien FOUTREL
...
> Is there a way to find if something is in the cache, have a map of cached
> content or some script that give one ?
http://varnish.projects.linpro.no/wiki/FAQ#CanIseewhatVarnishholdsinthecache
> Is it possible to do recursive purge in a way or another ?
http://va
Hi,
our goal is to cache 'everything' for a while. Status 200 responses should
be kept for a week, everything else for 5 minutes. However I had some
problems figuring out what makes an object "cacheable" and what doesn't.
Our vcl:
...
...
sub vcl_fetch {
/* Set NON-200 c
JT Justman wrote:
> Never tried it, but it seems to me you could read a cookie in VCL to
> determine the backend to use. This is how most load balancers handle
> sticky sessions, right?
That's one way. Another way that doesn't involve cookies or server side
session tables and which is generally mo