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
13 views

How to prevent seeing Varnish page unavailable after enabling module on admin module page?

Every time I enable or disable a module in admin, I see the Varnish "Page Unavailable" page. I don't see any errors in Apache log. How do I prevent this? What is the next thing I should check to ...
1
vote
0answers
48 views

What causes node edit pages to get expired?

This is a very strange thing I have ever faced in Drupal. When I open a node edit form and the process takes time usually more than 1 minute when I click on save the page gets reloaded and nothing is ...
0
votes
1answer
53 views

Can't login with varnish enabled

I can't login from the front-end with varnish installed. Here's what I think it is issue sub vcl_recv { # Do not cache these paths. if (req.url ~ "^/status\.php$" || req.url ~ "^/admin$" || ...
0
votes
0answers
14 views

I am getting the following error PHP Fatal error: Class 'VarnishCache' not found in /var/www/html/couponvodoo/includes/cache.inc on line 33

Suddenly my site down and am getting the following error PHP Fatal error: Class 'VarnishCache' not found in /var/www/html//includes/cache.inc on line 33
0
votes
0answers
31 views

Avoid caching pages for authenticated users with Varnish

I have the following problem: when a user logs in and navigates through pages that he visited when was an anonymous user, he "sees" the cached page instead seeing the page version for logged users. ...
1
vote
1answer
43 views

bypassing cookies in varnish [closed]

As explained in https://www.varnish-cache.org/docs/3.0/tutorial/cookies.html I am trying to " Cookies from the client For a lot of web application it makes sense to completely disregard the cookies ...
1
vote
1answer
419 views

Varnish 4.0 vcl for Drupal 7

Drupal7, Varnish 4.0, Ubuntu 12.4 Varnish is installed an working, but returning intermittent 503, I think whenever Varnish goes to the backend. Even though the request returns 503, a page refresh ...
1
vote
0answers
28 views

Varnish and expire module adding starts with on regular expressions

I have varnish running with the expire module that sends bans into varnish when an article is published. The problem is that it doesn't expire all versions of an article. Some articles could be ...
1
vote
1answer
69 views

Drupal Commerce, Can't add to cart without HTTPS enabled

Well I have a quite weird situation here, I assume this problem must be a server side issue, but so far I couldn't figure it out how to fix this. I have a Nginx server with Varnish (I even disabled ...
0
votes
1answer
66 views

Is Drupal Cache Warmer for real?

I am using Varnish + Default Page cache with a expiring time (1 day) in a site. When I am browsing the site, everything seems loading fine; once I come back to the site after a day or so, the the ...
0
votes
0answers
23 views

How do you make Varnish cache update when Drupal content changes?

I just started playing with Varnish cache. Looks like an awesome thing to have for speeding up page load times! How does one force the cached copy of a node/page/content to be updated when the ...
3
votes
1answer
43 views

Clear varnish cache for a specific node

I am populating one of the node fields making third party api call. Since the data from api is supposed to change frequently mainly on node view. My question is, is it possible to clear caching for a ...
0
votes
1answer
76 views

Drupal 6 and Varnish Cache

Is Pressflow really required for Varnish? I ask because I've set up Varnish on my server with drupal 6.30 standard, and installed the Varnish module, and it's sped up my website no end. Really amazing ...
0
votes
1answer
145 views

Drupal multi-site Aegir caching strategy

We are migrating many sites from various content management systems onto a single Drupal/Aegir platform. We used to have a high density of sites on the same servers and Aegir definitely makes managing ...
0
votes
0answers
66 views

The max-age value appears to be: 0

I'm trying to get varnish working, but it gives me the following error message. Varnish appears to be responding at that url, but the Cache-Control header's "max-age" value is less than 1, which ...
0
votes
1answer
117 views

Pressflow and Varnish problem with aggregated CSS / JS on flush cache

We are using Varnish and Pressflow (v6.30). Every time we flush cache in Drupal, we encounter problems where browsers can not get requested CCS/JS aggregate files as they do not exist. We have found ...
0
votes
1answer
839 views

Drupal max-age=0

Trying to setup the Varnish cache with our drupal installation. Issue is that with all pages, it's sending max-age=0. I've set this in the setttings.php $conf['cache_lifetime'] = 3600; But whenever ...
4
votes
2answers
1k views

Set up varnish, but is the content really from cache?

I set up varnish in my site and after the set up, checked the http header for an anonymous user. This was the response: Status: HTTP/1.1 200 OK Server: Apache/2.2.15 (CentOS) X-Powered-By: ...
1
vote
3answers
138 views

How to detect which module creates session?

I am trying to achive Varnish HIT for anonymous user but get only MISSes. It seems that my Drupal 7 site somehow starts new session for every anonymous user which opens even main page of the site. I ...
0
votes
1answer
672 views

optimize ajax request with varnish

I use memchache + apc + varnish for drupal 7 optimization, my performance is good but in ajax link site don't have good speed, what I must to do for ajax? and what is useless in my configs? my config ...
3
votes
1answer
941 views

How to set up Authcache module with Varnish and ESI?

I am trying to set up Drupal 7 with Authcache beta 2 and Varnish 3.0 but I can't get the ESI blocks working. Varnish it self seems to work well. I am using the example.vcl from ...
2
votes
2answers
863 views

How to clear varnish cache using drush? I'm on acquia cloud dev account

im working in an acquia cloud environment and currently im clearing the varnish cache via the web interface. is there a drush command to clear varnish cache while using an acquia environment.
0
votes
1answer
208 views

Varnish Cookies with Authcache

Problem I'm setting up Authcache to work with Varnish as a backend. It comes with an excellent default.vcl which is very well documented. It has the following section on cookies. Varnish skips the ...
3
votes
1answer
68 views

what benefit is it to clearing the Drupal cache now that I have Varnish in front of Drupal?

Our site has Varnish in front of Drupal for anonymous user page requests so that these pages are cached. I know how to clear the Varnish cache within Varnish but my question is what benefit is it to ...
1
vote
2answers
1k views

Varnish/Drupal caching for logged in users

Problem Varnish is caching pages when I go onto my website anonymously. I have "Cache Pages for anonymous users" turned on so this is expected. But when I login it continues to load the cached page ...
-1
votes
1answer
331 views

Problem with admin_menu and Varnish

I'm a beginner with configuring varnish, so my apologies if this is a stupid question. I am trying to make things work on my ubuntu VM (12.04) with Varnish 3. I am facing a problem, where after I log ...
0
votes
1answer
160 views

Generated: not cached yet (either no one has visited the page recently, or something is preventing the cache from being generated).

I just spin a test Drupal7 site and having some issue w/ getting boost module to work( $ cat /etc/redhat-release Scientific Linux release 6.4 (Carbon) $ uname -a Linux XXX.XXXXX.XXX ...
3
votes
1answer
1k views

Caching Drupal 7 using boost module and Varnish, yet still getting a “MISS”(

I'm trying to do a little test, so I installed Drupal7 w/ following modules (expire, boost, varnish, purge, rules and token). I'm usingvarnish-3.0.4-1.el5.centos.x86_64 in front of ...
0
votes
0answers
73 views

Anonymous user getting user name as logged in but session expired

Logged in to drupal site and after some time logged out from site. Then visiting pages as anonymous user. But one of the page is displaying some user name as logged in even though user session ...
3
votes
2answers
108 views

Deploying Drupal 7 with read-only DocumentRoot, especially concerning image handling

I'm deploying a Drupal 7 application in an environment where the web server's DocumentRoot is mounted read-only (so Drupals root directories and all directories below are not writable). For storing ...
1
vote
1answer
2k views

Why is the expire header set to some time in the past ('Sun, 11 Mar 1984 12:00:00 GMT') in Drupal 6/ PressFlow and Drupal 7?

I have been trying to understand why the expires header is set to the past. I read the comment In boostrap.inc drupal 6 but I am still a bit confused about it and the relation between expires and ...
0
votes
0answers
513 views

Varnish working on sub-domain but not on main domain?

I am using Pressflow 6 and enabled varnish caching with following settings in settings.php : ini_set('arg_separator.output', '&'); ini_set('magic_quotes_runtime', 0); ...
1
vote
1answer
2k views

Configuring Drupal 7 settings.php with both Memcache and Varnish

I am noob to using both Varnish and Memcached. I have been following some copy and paste install guides. I have both servers installed and running. Memcached seems to be working fine. Varnish is ...
2
votes
1answer
2k views

How to determine if Varnish/Pressflow is caching content in a useful way?

I recently converted one of my D6 sites to Varnish/Pressflow and saw a very modest improvement in average load speed (from ~550ms before to ~450ms now). But, I also noticed that the initial load time ...
1
vote
1answer
1k views

Clear Varnish Cache (and maybe Views?) for Home Page when new story posted

Drupal 7. I run a site for a large publishing company. We're on Acquia Cloud, using Varnish to serve cached pages to anonymous users. Home page has a couple Views - one is a running list of news ...
2
votes
2answers
430 views

Varnish and page cache

I have a question about using Varnish along with the Drupal page cache. I was wondering if using both of them is a bit redundant, since Varnish already caches pages for anonymous users? Currently I ...
0
votes
0answers
68 views

Optimizing page_manager_node_view

according to newrelic's dashboard /page_manager_node_view is: most time consuming (97.1%) slowest average response time (2050ms) apdex most dissatisfying (95.6%) highest throughput (14.4rpm) I ...
0
votes
1answer
255 views

Cache warming in drupal7

I have a drupal 7 website that uses Varnish for caching (through drupal's Varnish module). I want a cache warming mechanism that would automatically cache the latest version of the pages after the ...
1
vote
1answer
1k views

Boosted Varnish for Drupal - what to do with “Control: no-cache” headers?

Per the following article http://www.trellon.com/content/blog/boosted-varnish-high-performance-caching-made-easy#comment-8150 we're attempting to use Boost and Varnish on our Drupal 7 site. As for ...
0
votes
0answers
96 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
54 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
1answer
822 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
2k 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
312 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, ...
4
votes
1answer
316 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
549 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
302 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
200 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
871 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
753 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 ...