Varnish stops file download after 60 seconds

The default installation of Varnish 3 on Debian-based system (including Ubuntu) will set a default timeout for sending files to users (i.e. for users files download) to 60 seconds. To change this limit, it is necessary to update your default…

More Details
Varnish: check your config before you restart!

If you’re using Varnish cache, you will be familiar with the “service varnish restart” then the “oh, there’s a config error and now all my sites are down!”. Fear no more: there’s a command to check your Varnish syntax before…

More Details
Drupal site with Varnish, returning page without style on CTRL+F5

I had serious problems with a Drupal website with many Varnish optimizations. It so occurs that one of them, a return(lookup) on images and css extensions, was really the one causing the problem: if (req.url ~ “.(png|jpg|jpeg|swf|css|ico)”) { return(lookup); }…

More Details
Force caching for a specific page in Varnish

Just a self-reminder, in the vcl_recv section (before sending request to the backend), check the url you want to always serve from cache and tell it to return(lookup);   if (req.url ~ “request_server.php$”) { return(lookup); } Reload Varnish and get…

More Details

Quick Contact Form