Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [varnish]

Varnish is an open source reverse HTTP proxy with extensive caching abilities, i.e. a web accelerator. It is frequently used in front of websites to cache webpages in memory.

varnish
0 votes
0 answers
12 views

Varnish: Can I "ban" based on TTL < 0?

The Varnish documentation on ban is not exactly clear to me. It suggests only a bunch of variables and operators are allowed, but also hints TTL could be used. What I would like to write is in the ...
ColdT's user avatar
  • 1
0 votes
1 answer
19 views

Saving the created Varnish cache on Nuxt Vue.js releases

With Nuxt Vue.js releases, the names of the set of js-files change, making the accumulated Varnish cache irrelevant. This causes the Varnish cache to start rebuilding after each release. Is there a ...
Sartakov Dmytro's user avatar
-1 votes
1 answer
20 views

Varnish Cache Age Header Always 0 for Entire Page

I have installed Varnish on a remote server and configured it for my Drupal website. The Varnish headers show that requests are passing through the Varnish server for the entire page, but it is not ...
Saghrouni Tarek's user avatar
0 votes
1 answer
34 views

Configuring apache as reverse proxy for varnish server without using Hitch on ubuntu 22.04

I am trying to configure varnish cache 7 with apache2 on my server. Though setting up http request works just fine. but varnish can't handle https directly so i tried Apache and Hitch but didn't ...
Muhammad Aslam's user avatar
1 vote
2 answers
54 views

Varnish Cache 7.5 - Cannot enable inline C? All methods fail

I'm running a fresh Varnish 7.5 install together with Hitch as a proxy for a remote server. It works great. But I'm trying to port in a little bit of inline C from my old install and I can't for the ...
8protons's user avatar
0 votes
1 answer
36 views

Varnish: Backend returns 503 even though it is healthy

I have a simple Express server running at https://img-optimizer-fragrant-cloud-4712.fly.dev and I would like to use Varnish to cache requests (both on fly.io). The backend looks healthy (according to ...
Felix Steiner's user avatar
0 votes
1 answer
46 views

Varnish Setup for Gitlab Registry

Hi I'm trying to cache container registry with varnish My current setup is like this Gitlab Rails --> varnish_node:6081 --> nginx:80 --> OpenStack s3:6780 Whenever I set Rails machines to ...
IeuD's user avatar
  • 83
0 votes
1 answer
74 views

Trouble purging varnish cache (Nginx+Varnish+SSL)

OK, I have setup a private server at home in the following configuration: Nginx+Varnish+SSL (CacheServer) <-> Nginx+PhP (webserver) There is a single public facing IPv4 address that is running ...
Phil's user avatar
  • 11
0 votes
1 answer
3k views

Error 503 Backend fetch failed. Guru Meditation: XID: xxxx Varnish cache server. OVH

My Drupal 10 website hosted on OVH. I recently tested the form (it's a Webform module) which includes a field for uploading a file, and clicked 'submit' button, an error appears on the page: Error 503 ...
ELIZ Des's user avatar
1 vote
1 answer
174 views

Varnish Using Significantly More Memory than Cache?

I'm using varnish as a web cache. I'm running on RHEL 9.2. My cache is sized at 1GB. My varnish process is using 3.7G memory. $ ps -p 1163 -o %mem,rss %MEM RSS 15.7 3886108 I'm running varnish ...
Alex's user avatar
  • 87
0 votes
1 answer
15 views

Varnish insists on sending requests to unhealthy backend

I am troubleshooting a problem with Varnish (version 4) where it only sends traffic t a single backend host, even if it is unhealthy. Here is the VCL: vcl 4.0; import std; import directors; ...
grahamjgreen's user avatar
0 votes
1 answer
40 views

Varnish Cache Strange Issue showing same images /css/txt files on index page or other pages

I am trying to fix an issue on one of my Varnish Cache + Nginx setup on a Wordpress website. I am running the following server stack Nginx( HTTPS - 443 ) -> Varnish ( HTTP - 80 ) -> Nginx (HTTP ...
sherin's user avatar
  • 345
0 votes
1 answer
140 views

How to let Cypress-tests bypass all caches (Varnish, Redis, etc.) [duplicate]

On a site, I have a caching infrastructure like this: Redis cache, to cache database-queries. Varnish cache, to cache application responses (HTML, CSS, JS, etc.). Browser cache (Cypress clears this ...
Zeth's user avatar
  • 2,382
0 votes
0 answers
86 views

Setting up varnish in docker, nginx, php-fpm [duplicate]

I need all api.test.local/app/pub requests to work through varnish. I have my own docker container named fpm, in which php-fpm and nginx are running, and I want to put varnish there default.vcl vcl 4....
user avatar
0 votes
1 answer
149 views

Is there a way to split a long line of code in VCL?

I can't figure out how to split a long line of code in VCL. I have checked the Varnish docs and Fastly's, and I can't find anything except this regarding VTC files, which I also tested and didn't work ...
thlik's user avatar
  • 482

15 30 50 per page
1
2 3 4 5
140