Varnish is a high-performance reverse proxy and load-balancer package for Linux/Unix systems.

learn more… | top users | synonyms

-3
votes
0answers
21 views

Nginx not working on first visit [on hold]

I currently have a CentOS 6.6 server with Nginx + Varnish (+ PHP-FPM 6.6) on it and tested all as succesfully running and working, except for Nginx which keeps acting up. The problem with Nginx ...
0
votes
1answer
63 views
+50

varnish is caching logged in users pages and serving those pages

I set logged_in cookie when user login. If logged_in cookie exits then varnish will not cache the request. This is my vcl_recv sub vcl_recv { if (req.backend.healthy) { set req.grace = ...
0
votes
0answers
11 views

can't access magento admin with varnish

I installed Varnish 4.0 and Nginx on Ubuntu. I have a Wordpress installation and everything is OK with it. I have another domain for Magento but I cannot access the Magento administration. If I try ...
0
votes
1answer
11 views

Varnish backend slow-start

The situation: I'm using Varnish in front of some heavy loaded mod-php apache servers. When a cold (empty xcache, cold template cache) apache gets started, the server may overload because of too many ...
1
vote
2answers
41 views

Log API requests via Varnish cache

I have Varnish in front of a standard REST API. Requests must be authenticated with an X-Access-Token header. I now need to keep track of the requests for each resource against the access token that ...
1
vote
1answer
37 views

Errors while compiling Varnish 3 on ubuntu 14.10

I am new to linux and ubuntu and it is my first time to compile anything on linux. I am trying to compile varnish on ubuntu 14.10, but i got the following errors: Traceback (most recent call ...
0
votes
1answer
82 views

nginx loop redirect on varnish ssl implementation

I am trying to implement varnish on my ssl enalbled website. But i am getting loop redirect. This is how i am going varnish is listening on port 80; DAEMON_OPTS="-a :80 \ -T localhost:6082 ...
1
vote
1answer
53 views

Iptables PREROUTING to redirect port 80 through varnish not working

I try to use iptables to keep Varnish on port 8080 and Apache on port 80 and just preroute everything coming in at port 80 to port 8080. It isn't working. When I call the site on port 8080 everything ...
-1
votes
1answer
36 views

Varnish with PHP FastCGI / Change FastCGI server port

I want to run Magento with Varnish Cache. So far my PHP runs as FastCGI. I am now trying to set up Varnish. And have a probably pretty stupid question. So as I understand Varnish will listen on port ...
1
vote
2answers
136 views

Varnish 4 Working Config (optimized) for Wordpress (default.vcl)

I have successfully set up varnish 4 on my nginx 1.6.2 it is working but as per the test on http://www.isvarnishworking.com/ it shows Varnish appears to be responding at that url, but the ...
0
votes
0answers
35 views

Varnish + Nginx and Wordpress, POST redirect not working?

I am having trouble with Varnish not redirecting to the right URL's of Wordpress backend. When I POST the username and password on the login page, it doesn't gets properly redirected, so I GET the ...
0
votes
0answers
20 views

Can't login users on Varnish 4

I am testing this wordpress varnish 4 config https://github.com/nicolargo/varnish-nginx-wordpress/blob/master/varnish/varnish4-wordpress The site is being cached and served, but seems that the ...
0
votes
1answer
36 views

Varnish not caching because of language cookie, how to correct behaviour?

I am using Varnish 4 + Pagespeed on Nginx successfully, but varnish is not hitting the cache because the site always pushes a language cookie, disregarding if user is authenticated or not. That ...
0
votes
1answer
177 views

How to make varnish 4.0 work with nginx and pagespeed

I am trying to setup Varnish 4 + Nginx with mod_pagespeed. I am using the following config for Varnish 4 as per this document : ...
0
votes
2answers
94 views

Are there any performace gains to using Varnish along php-fpm and nginx? [closed]

PHP-FPM 5.6 and Nginx 1.6.2 would no doubt give maximum performance, at-least speed wise. So, I would like to know if there are any pros/cons to adding varnish cache to gain probably few more speed. I ...
0
votes
0answers
75 views

Wordpress Nginx Php-FPM Varnish Setup Fix

Master Slave Database We are running a wordpress site on Nginx, Php-Fpm, Varnish, at the moment we cant access wp-admin wordpress backend or pages but posts are running fine. Also when there is ...
0
votes
1answer
17 views

Varnish 3 ignore the req.backend directive

Varnish3 is ignoring the req.backend directive. As explained on the documentation (here), I've set two backends, and the regex for redirecting the request to the correct one. By the way, seems liks ...
0
votes
1answer
32 views

varnish 4.0.1, Unknown command: “vcl”, but command is needed on header?

I am on Debian Jessie, Varnish 4.0.1 From the varnish 4 Wiki : "Starting with Varnish 4.0, each VCL file must start by declaring its version with a special "vcl 4.0;" marker at the top of the file." ...
0
votes
1answer
91 views

Varnish cache with NGINX files not updating WordPress

It seems that Varnish is missing or not validating cache properly. When I try and purge my cache, I get 200 OK Cache successfully cleared, but my page does not update. I am simply making HTML changes ...
1
vote
1answer
38 views

Varnish does not purge my requests sent by Plone

I have varnish 3.0.5 up and running, connecting to a Plone 4 backend. My requests are cached, but not purged reliably, actually only after expiration of the ttl. plone.app.caching is the addon, which ...
0
votes
1answer
221 views

Implement HTTPS in with pfSense, Varnish and Tomcat

Situation I have an ESXi Server hosting multiple VMs, including one for each pfSense, Varnish and Tomcat. They are configured like the following: pfSenseVM (Firewall, IP=10.0.0.1) NAT Rules from ...
0
votes
1answer
88 views

Varnish 4 service won't start because of selinux

I've installed varnish 4 on my new centos 6.5 box. I've activated EPEL repo to install varnish from http://repo.varnish-cache.org/redhat/varnish-4.0/ After installing and configuring my default.vcl I ...
0
votes
1answer
95 views

How can I setup varnish for testing purposes?

The Varnish docs state that Varnish is configured by default on port 6081, which is "great for testing purposes." https://www.varnish-cache.org/docs/trunk/tutorial/putting_varnish_on_port_80.html I ...
0
votes
0answers
19 views

Varnish does not work on other port

I installed varnish on port 82 , but it's not working , the browser show me "The connection has timed out" but i can telnet my server with 82 port , varnish listened on 82 and apache listened on 82 , ...
0
votes
1answer
27 views

Varnish Does not work

I installed varnish as well on my server , but the performance did not change , The http://www.webpagetest.org/ says caching system does not enable on your server , i'm using default configuration of ...
0
votes
1answer
49 views

Varnish : no different performance

I installed varnish on my centos server, but i did not get any more performance, my website loaded in 7 sec before installation it , and after installation it's still 7 sec, what is the problem? ...
1
vote
2answers
193 views

nginx + varnish, optimize caching urls for ssl and not

I have a working varnish cache for my websites, with the undesired side effect that requests for a domain with http are cached with a certain url, and requests for https with another url. That way I ...
0
votes
1answer
51 views

Varnish error: /etc/init.d/varnish: 50: /etc/default/varnish: -p: not found

I've installed Varnish on Ubuntu 12.04 x64 and want to use it with my Magento shop. Information: Magento 1.9.0.1 Varnish Cache 3.0.5 Magento Turpentine 0.6.0 I've followed the installation ...
0
votes
1answer
41 views

Mass 301 redirects with Varnish

I'm working on migrating a site to another platform. We have a Python script to handle the import and we're considering using Varnish for speed. I want to make sure all existing URLs remain functional ...
1
vote
1answer
128 views

How to optimize Varnish on top of Odoo?

I'd like to optimize an Odoo-installation with Varnish 4. Odoo uses Python / Werkzeug to deliver HTML. Odoo 8.0rc1 and Varnish 4.0.1-2~trusty on Ubuntu 14.04. Both Odoo/Varnish are installed on the ...
0
votes
0answers
192 views

Why is Varnish 4 getting slow after some time?

We've migrated Varnish from Version 3 to Version 4.0.1 (via Debian packages). Nearly the same configuration and memory setup runs flawlessly on varnish 3. However, with Varnish 4 there are large ...
-2
votes
2answers
38 views

Will Varnish recreate cache?

I want to cache pages on my nginx site for fast retrieval. Let's say every 5 hours I want to expire all the cache and have it recreated. Will Varnish make calls to the web-server and recreate cache on ...
1
vote
1answer
73 views

Elastic Load Balancer and Varnish on Each Node

We want to install Varnish on our nodes that are handled by an Auto-Scaling Group and ELB. These servers currently grow and contract based on load from 2-10 nodes. We do not want to have another ...
1
vote
1answer
144 views

Varnish Cache: Rewrite ESI include url if session is active

I'm looking to rewrite an ESI include url in Varnish. In my template, I have: <esi:include src="/esi/user.html" /> which just includes static content i.e. "Welcome Guest". If they login I ...
2
votes
1answer
60 views

NginX/Varnish and Auto Caching

Let's say we have a wordpress site example.com On our site, there are multiple products. Urls look like this: example.com/products/product-1/ example.com/products/product-2/ ...
1
vote
2answers
41 views

Varnish Disrupting Logins with Invision Power Board

I recently transferred one of my primary sites over to a WordPress installation, but unfortunately, this resulted in extremely high server loads. Originally, I was running a basic LAMP server with ...
0
votes
0answers
24 views

How to set varnish cache purge time

I want to set the varnish cache purge time to 1 hour. I was not able to find in .vcl files. Is it set via some system variables or needs to set somewhere else.
-1
votes
1answer
63 views

phpMyAdmin not working with Apache/Varnish

I'm trying to install phpMyAdmin on a dedicated machine with Apache 2 and Varnish (in front). But when I try to access /phpmyadmin, it redirects me to myserverip:8080 so access fails. I've already ...
0
votes
0answers
25 views

varnish4.0.1 storage not effect

l have a problem in varnish4.0.1.I choose file storage. my storage is not full, but varnishstat display that SMF.s0.g_bytes is full, and my n_object reached at a limit nums, why is that? here is the ...
1
vote
1answer
20 views

varnish and apache on separate servers

I would like to know if it is possible to install and configure apache on one server and varnish on another server so that we can alleviate the load on the apache server. If it is possible can someone ...
3
votes
4answers
572 views

Varnish on 80, nginx on 8080, on which port to put jenkins?

On my staging server, I have Varnish + Nginx. They are on port 80 and 8080. Given that I have to install jenkins, on which port I have to bind it ? (which is usually 8080 but it's already taken)
0
votes
2answers
438 views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
0
votes
1answer
63 views

Purge varnish(4) cache

How purge all cached pages on a v4 varnish server ? I found this in documentation but how apply the vcl_recv command ?
1
vote
1answer
90 views

Varnish how to clear cached data for removed apache virtualhost?

I have Varnish setup for a server that serves multiple webservices. Now I wanted to remove one of these webservices, so I removed the files for this webservice from the server, removed the Apache ...
0
votes
0answers
31 views

Missing objects in 50x error page in varnish

I use this code to costum 503 error page in Varnish. if ( obj.status >= 500 && obj.status <= 505) { set obj.http.Content-Type = "text/html; charset=utf-8"; synthetic ...
0
votes
0answers
42 views

Varnish “it works” page on all domains

I installed Varnish on my virtual server(Debian 7.0 x64) Digital Ocean and I followed their tutorial here. The problem is that on all my domains and subdomains, I get the it works message. I tried ...
0
votes
0answers
29 views

How to do a redirect in Varnish 4.0

The method at wiki used to work but it's outdated now for Varnish 4.0 I wonder how would i do a redirect in varnish 4.0 now that obj is readonly.
0
votes
1answer
706 views

Varnish won't start as service but works fine from command line?

We're trying to setup a varnish on a Cent OS 6.5 64 but can't get it working as a service. What could be the reason for the following error? [root@server]# service varnish start Starting Varnish ...
0
votes
1answer
69 views

varnish wordpress comments

On my server I have installed Varnish in front of nginx, to serve static files faster. When using my site I have found following bug: Every comment on my wordpress blog is coming from localhost ...
0
votes
0answers
24 views

Get a specific answer as a result from helthcheck varnish

I want to make a condition. The backend is healthy only if i get as a result "alive", else even it get a result, it would be not healthy. backend test { .host = "192.168.1.100"; ...