2,100 questions
0
votes
0
answers
45
views
Magento 2 cache tag varnish
I don't understand the way the handle my cache tag in magento 2.
I have implemented DataObject/IdentityInterface.php for my models wishlist and wishlistitem.
So when I create a wishlist for example I ...
0
votes
2
answers
59
views
How do I debug a Varnish VMOD with gdb?
I've created a simple Varnish VMOD and I'd like to debug it using gdb.
I've built the VMOD with -g -O0.
Varnish is running in Docker using the official 7.6.1 image with the built and installed VMOD.
...
0
votes
1
answer
89
views
Varnish Cache Bypassed for .html URLs on Opencart 3.0.3.8: How to Fix Caching Configuration?
I have an Opencart 3.0.3.8 site on a server running AlmaLinux 8 with Plesk installed. The server uses PHP-FPM and Nginx.
My site, which has approximately 7,000 products, uses the Complete SEO Package ...
1
vote
1
answer
105
views
Cloudfront + Varnish - Revalidations
We have a set up with Varnish + Cloudfront in front of Drupal 10.
Cloudfront -> Varnish -> Nginx/PHPFPM -> Drupal 10
Drupal suggests turning off internal page cache for large sites (over 100k ...
1
vote
1
answer
44
views
Hashing data in Varnish 7 open-source
Is there a way to hash a string in the OS version of Varnish 7? For example using SHA256.
Basically I need an equivalent of this:
import digest;
sub vcl_hash {
hash_data(req.url);
hash_data(...
-1
votes
1
answer
134
views
Intermittent 503 response on Varnish
A HTTP request in our case first hits the Varnish server and then one of its two backends. The backends service is a flask+uwsgi application.
I have observed that during peak traffic hours, the ...
-1
votes
1
answer
150
views
Varnish "Backend fetch failed" with fail errno 0 (Success)
we provide a website using Plesk managed environment with nginx as reverse proxy to varnish (6.2) and apache as backend. There is no problem.
Now we have a new server running on Almalinux 9, installed ...
0
votes
1
answer
163
views
Can't import dynamic from "libvmod-dynamic" in v7.3.0
Using varnish 7.3, trying to do 'import dynamic from libvmod-dynamic, but get error
"Could not find VMOD dynamic"
Am I doing this wrong or is it not include in 7.3?
If not, any tips to ...
0
votes
1
answer
55
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 ...
-1
votes
1
answer
58
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 ...
1
vote
2
answers
206
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 ...
0
votes
1
answer
68
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 ...
0
votes
1
answer
5k
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 ...
0
votes
1
answer
35
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;
...
0
votes
1
answer
848
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 ...
0
votes
1
answer
279
views
Client 443/HTTPS -> Virtual IP -> HA Proxy 80/HTTP and 443/HTTPS SSL terminaison -> Varnish 81/HTTP -> 82/HTTPS and 442/HTTPS Apache
At home, I have 1 hosted server with some websites, using Virtualmin (great tool!) and everything is working fine with HTTPS, HTTP...even behind my internet router, using NAT by forwarding ports 80 ...
0
votes
1
answer
66
views
Varnish logged in user to remote server
On a varnish cache server, I would like to send all logged in traffic to a remote server, while keeping non-logged in users in the same server w/ varnish.
Currently, I have nginx web server running ...
0
votes
1
answer
160
views
How to determine why a object was removed from the Varnish Cache?
We have a Varnish server running in front of our Magento site. We find that Magento is pretty slow when it comes to serving pages, and as such we want to have Varnish serve all category and product ...
0
votes
2
answers
51
views
updated content only loads on hard refresh, else it loads old content
We have an laminas application which uses Akamai, Varnish and Memcache
currently we have updated 404 page with updated content on it, but it loads old content on load/refresh and only loads fresh ...
-1
votes
1
answer
136
views
Reverse proxy varnish using subpath in docker
I am following the tutorial production-postgis-vector-tiles-caching. However when I try to setup pg_tileserve to serve tiles under reverse proxy and varnish also under reverse proxy, I always get an ...
0
votes
1
answer
78
views
Symbol not found: 'bereq.is_bgfetch' (expected type BOOL)
I am certainly doing something wrong or I am missing something because it is driving me crazy.
I am using Varnish 6
in defautl.vcl, I am trying to not cache 5xx errors and preserve the existing cache
...
1
vote
2
answers
239
views
Symfony Sulu Varnish using ESI
We are using Symfony (Sulu) with Varnish as reverse proxy, with tag based invalidation (xkey) which works as expected. Now we want to use ESI for dynamic blocks on our website, separate from the "...
0
votes
1
answer
614
views
How to monitor active threads in varnishd?
how do you monitor running threads in varnishd in production?
We have configured varnishd to max threads = min threads = 1000.
We are monitoring the MAIN.threads and MAIN.threads_created metric, but ...
0
votes
1
answer
2k
views
Why does limit_except GET { deny all; } not work for PURGE requests when using nginx_http_mirror_module?
I am trying to mirror all GET requests on my nginx server, to another web application for split testing. This works and filters all request types but GET - but - unfortunately it also sends PURGE ...
0
votes
1
answer
263
views
upgrade http:// to https:// when using Hitch
I'm trying to use Hitch to add https support for one old project with own http server written in C.
The Hitch itself is working, but is there any way how to handle, when user try to use http?
E.g. I ...