In message <[EMAIL PROTECTED]>, "Kang
Liu" writes:
>Hi,
>I'm testing varnish for caching flash video content for a youtube
>style site. I wrote a very simple vcl file for the site.
>the backend is lighttpd, contents in the backend are all flash videos
>(.flv files).
>Is there any problem in my vcl file?
None that I see.
You don't need to copy the default VCL, it's always used if you
have not specified anything, so you should not need the vcl_hit,
vcl_miss and vcl_timeout functions.
VCL understands more time units than seconds, so you could have
written:
set obj.ttl = 365d;
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc