Varnish is a remote proxy that works very well with Drupal and is used by many high profile Drupal websites.

learn more… | top users | synonyms

0
votes
0answers
23 views

How to set Content-Lenght http header for images?

How to set the Content-Lenght header or any other header for images? I need it to set a rule in the varnish to not cache images larger than 500kb.
1
vote
0answers
22 views

Path of a block

We have a home page (Drupal 7) on which we have a block that we want to cache for only 1 minute while the rest of the page can be cached longer. We are using Akamai and Varnish for this. We ...
4
votes
0answers
51 views

Letting anonymous users vote in a poll when using Varnish

I have a poll on my front page that I want users to be able to vote on, but anonymous users always just see the results and are never able to vote. I've been trying just about everything I can think ...
0
votes
1answer
81 views

Using Varnish with multiple vhosts

I have varnish configured and "working" on port 80. I have apache running a few instances of Drupal 6 on port 8080. One for dev, review and one for production. I used the four kitchens vcl file as ...
3
votes
1answer
52 views

Selectively purging views from varnish cache

We are trying to optimize our site's performance with Varnish together with the Cache Expiration module to selectively purge only the updated content from varnish. However, one problem has come up, ...
2
votes
0answers
83 views

How to configure settings.php for Drupal site with Varnish and CDN?

I am completely new to the back-end issues, so I would appreciate any detailed answers with explanation. We need to configure our settings.php file so that it works with Varnish and CDN. Currently, ...
1
vote
0answers
121 views

Browser cache issue

I have varnished and Apache setup. My Drupal 6 websites doesn't have any issue. But in all of my Drupal 7 setup I have following issue: Issue: Whenever I visit pages of my websites anonymously, so ...
0
votes
2answers
129 views

Varnish and Drupal 6

Can someone point me to a working example of a Varnish configuration for a Pressflow 6 site? Configuration files from the Pressflow Wiki and a few other blogs around the net still result in ...
0
votes
1answer
133 views

Varnish 3.0 and Drupal 7, get registered user to always have non-cached content

I have issue with Varnish on Drupal 7 detailed here: http://drupal.org/node/1886218 Basically, what happens is: User visits the certain page as anonymous, gets content served by Varnish Cache (OK) ...
2
votes
1answer
96 views

Varnish cache not region aware

We have a Drupal 7 site whose content is split into geographic regions. The concept is that page view blocks and filters will display region specific content based on the users IP address or selection ...
4
votes
1answer
254 views

Why is Drupal 7 loading the wrong .js file?

There is a very strange bug that is happening on one of our client websites, and we have been unable to figure out what's going on. It's a tough one. The Issue In simple terms, Drupal is loading the ...
0
votes
2answers
126 views

Varnish problem, user logged out for a HIT page

Have someone experienced simmilar problem, I've installed Varnish(v3, on Debian 6, Drupal 7), and also Varnish Drupal module, conigured settings php and vcl, and everything seems to work fine, except ...
2
votes
0answers
125 views

Boost and Varnish together in Presflow

One of my client drupal 6 site boost installed and working properly. Now they need to integrate varnish to the site. For that the site is upgraded to pressflow. The varnish is installed in server, and ...
1
vote
1answer
229 views

Redirecting Drupal multisite non-www to www with varnish / nginx

I'm building Drupal multisite with 35 sites (~60 different domains) and I'd like to redirect non-www urls to www regardless of domain. Nginx is redirecting all domains to Drupal install folder. I've ...
0
votes
1answer
66 views

hook_boot and Varnish

I have a module that implements a hook_boot(), and it checks if user is going to access home page and if user does not have a specific cookie. If both verifications are true, it redirects user to a ...
3
votes
2answers
399 views

Optimal Settings.php for Pressflow + Varnish + memcache

I am using pressflow having varnish + boost + memcache and also using cloudflare caching, I have seen some variable forms of settings.php file on forums and I am confused whether mine is optimal for ...
0
votes
3answers
415 views

Can't login to Drupal after Varnish install (reverse proxy)

I setup Varnish for Drupal 7.x but when I go to settings.php to uncomment $conf['reverse_proxy'] = TRUE;` then when I try to login as administrator I am just redirected to the same page, nothing ...
0
votes
0answers
227 views

Boost Breaking Drupal 7

I'm having a somewhat bizarre issue - We've been trying to optimize this Drupal 7 site by setting up...quite a bit of caching (memcache, apc, boost, varnish, etc) - We then tried to disable Varnish ...
3
votes
1answer
235 views

403 forbidden on HTTPS logins?

I'm using Drupal 7, and have Pound running in front of Varnish for HTTPS. I can browse the site via HTTPS, but can't login - each time I do, the server returns a 403 forbidden error. Any ideas as to ...
1
vote
1answer
159 views

ESIs with Varnish 2.1.5 for Anonymous Users

We're trying to configure our sites running D7 to use ESIs with Varnish 2.1.5, and having a hard time figuring this out. We have a file /test.php that is being included in the template via esi so it ...
0
votes
1answer
116 views

Google can not connect to the server?

Google Webmaster's tool tells me on a site that "Request timed out or site is blocking Google". On that site. I am wondering how to fix this. Probably relevant info: I'm using Varnish in front of ...
2
votes
1answer
489 views

Cache problems with Varnish and FBOauth module

I'm troubleshooting a problem with Facebook (FB) login on my site using the Facebook OAuth module. Reproduction steps: Be logged out of Facebook and my site Log into my site using Facebook login ...
3
votes
2answers
241 views

Pressflow 6 forms creating session cookies

We have a Pressflow 6 website behind a Varnish cache but our cache hit-rate is awfully low. I've recently found that stripping the "Cookie" header from requests completely increases the hit-rate to ...
1
vote
1answer
165 views

Flush cache only for changed pages

I'm working on a site with Varnish enabled, but I notice that the system clear cache pages, according to the expire configuration, also if pages are not changed. Is it possibile to clear cache only if ...
1
vote
1answer
1k views

Can't get Varnish working properly, not caching anything. (varnishd is running , status is tick)

System info: Ubuntu / LAMP Drupal 7.14 Varnish 3.0.2 Varnish module: 7.x-1.0-beta1 http port 80 I have installed Varnish in server. I started it as: $ sudo varnishd -f default.vcl -s malloc,1G ...
-1
votes
1answer
835 views

Can't start Varnish with Pressflow on CentOS 5.5 [closed]

I just installed and configured varnish to work on port 80 and apache to work on port 8080 I'm trying to start varnish withe the command service varnish start but it gave me this error: varnishd ...
0
votes
0answers
344 views

How to cache whole pages using nginx?

Currently I am using nginx and php5-fpm behind Varnish to render pages. It is great of guest users; however, I feel it is a bit slow and error-prone for authenticated users, and I'd like to disable ...
2
votes
2answers
1k views

How can I clear the Varnish cache?

We have installed node queue module on Pressflow 6 + Varnish. For clearing the varnish cache for node queues, we developed rules using the Rules, and Cache action modules. Whenever we update the ...
0
votes
1answer
91 views

Expiration of cached pages stuck at 6 hours

No matter what I change in the GUI, after clicking save the Expiration of cached pages under Performance options is reset to 6 hours. I checked my default VCL for Varnish suspecting this might be ...
3
votes
1answer
672 views

What does the “Vary: Cookie” header actually do for serving pages from Varnish?

According to the documentation in default.settings.php, and I've seen similar descriptions elsewhere, "Without "Vary:Cookie", authenticated users would also be served the anonymous page from the ...
6
votes
2answers
3k views

Using Drupal 7 with APC, Varnish and Memcache, what bins to put in which cache?

I'm optimizing a Drupal 7 website and I have varnish, memcache and APC all installed and working with their individual Drupal 7 modules. In my settings.php I have the $conf options below. My question ...
1
vote
1answer
228 views

problem with page count in pressflow & varnish

i'm using pressflow & varnish & cashrouter in my site. my problem is node counter is not true because google analytic show diffrent count of node. for example in google analytic show count of ...
5
votes
2answers
736 views

Is memcache only for logged in users?

I am trying to understand what the role of Memcache is. A few of my friends who have been working with Drupal for more than a year tell me that Memcache would only work for logged in users, and I ...
1
vote
3answers
351 views

varnish + multiple webheads = files/(css/*.css|js/*.js) missing

I have this weird issue and I'm not sure if it's me who's doing something wrong or I'm just missing something but maybe some of you can guide me a little bit here... i setup a varnish server, within ...
1
vote
1answer
182 views

Correct Syntax for $conf to populate Varnish Control Terminal

This may be more a php question, but pertains to Drupal, so here goes: I'm trying to configure Varnish Control Terminal to use multiple hosts using settings.php. I have: ...
2
votes
1answer
559 views

Varnish causes page load time to increase

I am running Drupal 6 with pressflow on Ubuntu 11.04. I installed Varnish http accelerator and Varnish Drupal module. The Varnish is running and the Varnish page at admin/settings/varnish confirms ...
15
votes
3answers
1k views

Is it redundant to use the “boost” module if varnish is used?

We run our Drupal instances behind a Varnish server, but we're looking at alternative/additional ways to speed up the site. Boost is a module that is frequently named for this purpose; it appears to ...