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
1answer
12 views

Autcache + Varnish modules installed but cache tables growing

I have a site in Drupal 7, multilanguage and multidomain, and when I do a weekly manual database backup (apart from the automated ones), I see that the size of the mysqldump file is of about 200 Mb. ...
1
vote
1answer
16 views

Stop Varnish from caching 302 redirect from POST responses

drupal_goto() uses a 302 redirect by default, which means a lot of redirects, including form redirects, get served with a 302 response code. Having a issue in Varnish that is caching 302 response ...
0
votes
0answers
14 views

Varnish is working but X-Drupal cache is missed

I have configured varnish on a Digital Ocean server and installed Drupal varnish module. I have confirmed that varnish is running but once i do a test on my site using blazemeter.com the server CPU ...
0
votes
1answer
48 views

How to correctly configure settings.php to use reverse proxy and ssl termination

In settings.php there is the section "Reverse Proxy Configuration". It suggests settings to add when you are using a reverse proxy and SSL termination. Nginx is listening on port 443, adds the ...
1
vote
1answer
23 views

Varnish + Adaptive Theme

Using the Adaptive theme on Acquia platform and seeing an issue with mobile rendered views being cached and served to desktop browsers with block regions hidden for mobile display. The issue seems ...
1
vote
0answers
20 views

Varnish does not serve cached content

I have successfully installed Varnish cache with my Drupal instance for both PROD and TEST servers. My PROD server seems to work without any problems. However my TEST server (which has the SAME ...
1
vote
0answers
79 views

Varnish 4.0 (authcache) not working for authenticated users on drupal 7.41

I've configured Varnish 4.0 through authcache and its working perfectly fine for anonymous users but for authenticated users it always shows "MISS" both in authcache debug and browser response ...
0
votes
1answer
42 views

Drupal 8 css and images relative to root

I have the challenge that I want my site to be cache-able by and external varnish cache provider. Most of my page gets cached nicely, but elements like the ico file, images and css are written with ...
3
votes
1answer
119 views

Is using a TLS/SSL termination reverse proxy currently possible in Drupal 8

I use Nginx (port 443) which terminates TLS/SSL then forwards the request to Varnish (port 80) and on to Apache (port 8080). This worked really well for D7. Am I correct in thinking that because of ...
2
votes
2answers
87 views

Varnish has no SSL support; then what to use?

As the developer of Varnish, Poul Henning, wrote back in 2011 on https://www.varnish-cache.org/docs/trunk/phk/ssl.html and again this year on ...
0
votes
1answer
114 views

Bluehost cloud hosting, varnish caching issue authenticated user

I have narrowed down my problem to varnish on my cloud server provided from bluehost. When logged in you make an edit, but it is not reflected back until 5-10 minutes later. Clearing all caches, ...
1
vote
0answers
68 views

Configuring Varnish for Drupal with Proper Module Usage (Expiration Cache, Varnish, Purge, Memcache)

Can someone help me straighten out my setup? What is needed...what isn't? Varnish has been working well with a high hitrate average, but I am really trying to dial in my configuration. Any insight ...
0
votes
0answers
16 views

Import a Batch of Nodes via Feeds Module on Varnish environment

I have some problems on import node via Feeds module. I already set feeds importer and it worked fine on the dev site and local site. But It have some problems on the site with varnish already ...
1
vote
1answer
51 views

How to check if is anonymous user's first visit to site when using varnish

If one has a Drupal 7 site which uses varnish for caching, is there some method which would enable one to serve a different version of front-page if it is first time the anonymous user has visited the ...
2
votes
2answers
153 views

Drupal batches return error “No Active Batch”

Whenever I run any functions that require a batch to run (delete users, manually check for updates, etc.), the Batch API returns an error "No Active Batch". I have scoured the internet for pointers, ...
0
votes
0answers
13 views

is it possible to bring varnish in server layer?

I have a Server Architecture like this. I want Drupal to decide where to get the data. Like if it a static page then drupal has to get content from Varnish or if it a dynamic pages then Drupal has to ...
2
votes
1answer
171 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 ...
1
vote
0answers
70 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
184 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
75 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 ...
1
vote
0answers
59 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
168 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
45 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
53 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
160 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
2answers
128 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
564 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
1answer
28 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?
5
votes
2answers
204 views

Module to cache URLs commonly request by bots? [closed]

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
133 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 ...
2
votes
2answers
942 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
1answer
285 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$" || ...
1
vote
1answer
493 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
109 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
3k 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
72 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
219 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 ...
1
vote
2answers
672 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
100 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
102 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
289 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
307 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
347 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 ...
1
vote
1answer
3k 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
3k 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
391 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 ...
4
votes
1answer
2k 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 ...
3
votes
2answers
2k 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
530 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
90 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 ...