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

learn more… | top users | synonyms

0
votes
0answers
15 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
17 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
0answers
10 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
64 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
73 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
36 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
12 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
25 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
59 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
votes
0answers
16 views

Varnish : joomla login issue

I installed varnish on my server but i cannot login in my joomla website account in front-end , what should i do? Here is my vcl config file: remove req.http.X-Forwarded-For; set ...
1
vote
0answers
24 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
106 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
46 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
33 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 ...
-1
votes
0answers
18 views

Varnish redirecting to https issue

I installed varnish on my server and configured it on port 80 , but my all websites on this server redirecting to https forcely , what is the problem
0
votes
0answers
17 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
44 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
120 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
35 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
33 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
0answers
81 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
142 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
37 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
51 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
92 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
47 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
38 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
22 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
44 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
24 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 ...
0
votes
1answer
18 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
561 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
303 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
47 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
74 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
25 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
41 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
27 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
452 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
58 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
22 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"; ...
0
votes
0answers
15 views

SoftPurge doesn't work correctly in varnish

I am trying to use Softpurge mentioned here: http://www.smashingmagazine.com/2014/04/23/cache-invalidation-strategies-with-varnish-cache/ I run in terminal the following command: curl -X PURGE ...
2
votes
1answer
35 views

Varnish config to fallback to another port

I am playing around the different config setups. Currently I have Varnish-cache in port 80, Apache2 in port 70 and Nginx in port 90 in the same machine. The Varnish is configured in such way that it ...
0
votes
1answer
66 views

“service varnish stop” doesn't actually stop Varnish

I'm running Amazon Linux. I originally installed Varnish 3 on this box, but have now installed Varnish 4. sudo varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl ...works just fine to start ...
1
vote
0answers
42 views

Varnish: How to cache for failure, always ask backend if healthy?

I want to configure varnish (still on version 3) in the following way: If the backend is available, every request should go to the backend, so no cached results should be used. If the backend is ...
0
votes
0answers
22 views

Can not analyze output from Squid and varnish

I'm using one Squid server between tow cache server. I get from headers following information: X-Cache MISS, HIT from cache-zz X-Cache-Age 515 X-Cache-Control public, max-age=3600 X-Cache-Lookup HIT ...
0
votes
1answer
272 views

Real IP addresses from Varnish + Cloudflare

I'm trying to edit the default.vcl file to get the real client IP addresses to show up in my Wordpress. I found this online and I read a lot of pages on this but have failed to make this work. I'm ...
0
votes
0answers
36 views

Odd behaviour with varnishlog and stream redirecting

I wrote a helper to debug varnish installation and have used it on both production and development server. The odd thing is, I encountered different behaviour even though the setup is nearly identical ...
0
votes
1answer
161 views

Random 502 errors with Varnish

I have a varnish 4 in front of an Apache web server. All is good, except i have some random 502 errors. What is strange is that there is nothing in the varnishlog file for this error ! (all others ...