On Wed, Nov 30, 2011 at 10:27:40AM +0000, manju m wrote: > > I have a requirement for customizing 404 error page for varnish, and i > have done the changes. > But the changes are not getting picked up, i still get the error page > from the application , not the one which i have configured in varnish, > even after restarting varnish.
A 404 is a cacheable object like any other. vcl_error is used when varnish can't fetch the object you're trying to serve, or when the vcl uses the function. You can call error yourself in vcl_fetch if the server returns a 404. -- Andreas _______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
