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

2
votes
1answer
26 views

Varnish is serving sometime wrong cache theme on desktop or in mobile

Setup - We have Varnish in front of three drupal backend server. Varnish is serving as a cache and load balancer. Load balancer is using round robin director. It also does the device detection ...
0
votes
0answers
16 views

Detect mobile device and redirect only specific URLs

We are using Acquia Mobile Redirect module to detect mobile device and redirect accordingly and it's working correctly on Acquia cloud. Its redirecting every request on mobile device. But the request ...
0
votes
1answer
16 views

Access denied at password reset page when logging in

I run a D7 site that for some reason is not allowing users to reset their passwords, but only on the server. The email with the one-time login link is sent just fine, but when the user clicks on the ...
0
votes
1answer
25 views

Detect device using Varnish

I have some difficulties finding a correct code (VCL) to configure varnish to detect if the device is a tablet or a mobile or a desktop. Here is the best module version found today, but still not ...
0
votes
0answers
35 views

User landed on cached page instead of language selection page

Problem : On multilingual site, varnish caching is enabled. When any user call www.example.com, page gets cached to the first visitor's language preferences. All subsequent visitors get pages in that ...
0
votes
0answers
60 views

Drupal amazon s3 image styles not generated

My server configuration: drupal 7 + multisite, nginx + varnish and Amazon s3 storage for image assets. I have my website images in amazon s3 storage. I can able to upload the images via drupal into ...
0
votes
0answers
26 views

Ctools session variable and varnish

I have enabled Varnish caching in my webserver. But when I load my pages on web browser, the pages are not showing from varnish (age is always 0 and one value in X-Varnish header). After debugging ...
1
vote
0answers
25 views

Using captcha in varnish setup

Captcha and any form of page caching don't get along. I understand why this is, but i'm wondering if there might be a certain setup to use captcha even in cached environments. Post requests for ...
1
vote
0answers
70 views

Scheduled publishing timings, cron, cache clear

We have a site where users make extensive use of scheduler to schedule publishing of articles etc. Site crons are run externally through drush and elysia_cron is installed to give fine-grained ...
0
votes
0answers
29 views

Varnish + nginx + advagg “HTTP requests to advagg for css files are not getting through.”

I get this error in the reports page when I view my site through Varnish( and then nginx). When I check it directly from the nginx there are no errors since we found a fix. Any idea how to configure ...
0
votes
2answers
57 views

Why does my site whitescreen with content? [closed]

I am creating a drupal 8 site. I have only installed two modules so far, Devel and Varnish. However anytime I try to create an article and save it any page on the site that isn't an admin page is ...
0
votes
1answer
138 views

Cache-Control: no-cache despite allowing cache for anonymous users

We have a D7 site I'm trying to cache with Varnish. The assets are caching fine but for some reason every page is served with this header: Cache-Control: no-cache, must-revalidate, post-check=0, ...
0
votes
0answers
38 views

ESI and Varnish inside tpl.php files

Is it possible to use Varnish and ESI statements in Drupal inside of tpl.php files? I have the following files: timezone.php: Current time: <?php $zone = ...
0
votes
1answer
24 views

Only getting varnish misses

Would having the display errors setting turned on in the following admin page admin/config/development/logging cause Varnish to generate cache misses?
4
votes
2answers
124 views

Module to cache URLs commonly request by bots?

Open the logs of a dozen Drupal sites and you will see some patterns for non-Drupal packages in the http requests that received a 404 response. Requests like /postnuke/article.php, ...
1
vote
2answers
75 views

Cannot post new content after installing varnish

Our drupal 7 site was running so slow it was almost unresponsive, so I had to install varnish 2.1.5 this weekend. I got it up and running, and everything is now lightning fast, users can login and ...
1
vote
2answers
573 views

Private files not found 404 error

My installation is Drupal 7 + Nginx + Varnish cache My private files path: sites/default/files/private/demo.img URL in browser: system/files/demo.img When I try to open private file: ...
0
votes
0answers
32 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
63 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
140 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
34 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
1
vote
1answer
208 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
88 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 ...
2
votes
2answers
2k 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
62 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 ...
2
votes
1answer
176 views

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

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 it ...
0
votes
2answers
355 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
1answer
60 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
75 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 ...
3
votes
2answers
185 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
237 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
1answer
272 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
2k 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 ...
5
votes
2answers
2k 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
303 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
0answers
1k 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
1k 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
1k 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
396 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
80 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
2k 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 ...
0
votes
1answer
532 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
238 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
2k 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
85 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
124 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
3k 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
702 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', '&amp;'); ini_set('magic_quotes_runtime', 0); ...
1
vote
2answers
4k 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
4k 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 ...