Skip to main content

Questions tagged [varnish]

Denotes questions related to setup & configuration of Varnish and VCL files

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Poll error 110 (Connection timed out) - Error 503 Backend fetch failed

These are my settings: cat /etc/default/varnish # Configuration file for varnish SysV init script # # /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK # to be set from this ...
Thommen's user avatar
0 votes
1 answer
41 views

How to install varnish version 7.1.1 on mac M1

I need to install Varnish version 7.3 to working with Adobe Commerce ver. 2.4.6-p3 on localhost Mac. As per the Adobe doc the suitable version is 7.3. When i run the command brew install varnish It ...
Mujahidh's user avatar
  • 2,813
0 votes
1 answer
21 views

product.info.options.wrapper cacheable false

<block class="Magento\Catalog\Block\Product\View" name="product.info.options.wrapper" as="product_options_wrapper" template="Magento_Catalog::product/view/options/...
usman's user avatar
  • 465
0 votes
1 answer
56 views

Magento 2 - Varnish - Cloudways - Hit Rate below 50%

I have a multistore Magento 2.4.6 app hosted on Cloudways. They have a built in Varnish solution (which is convenient). But I have noticed that my Varnish hit rate is always below 55%. I asked the ...
loginid's user avatar
  • 394
0 votes
2 answers
62 views

Purge Varnish from Magento 2.4.6: laminas error

We did setup Varnish correctly and working fine to cache the files. However, when Magento try to purge cache on product saving or from cache management, we have the following error: [2024-04-16T02:27:...
nlegall's user avatar
  • 23
0 votes
0 answers
55 views

I've got 502 Bad Gateway errors only in customer login and account registration

Both customer/account/loginPost/referer/....... & /customer/account/createpost/ Lead to 502 Bad Gateway nginx/1.18.0 (Ubuntu) Interesting fact is that customers actually are able to create account ...
rt89's user avatar
  • 11
0 votes
1 answer
68 views

Varnish not working with Magento 2.4.3: Website doesn't response

I have multiple website on the server and I am trying to configure Varnish cache for them. I have bypassed other sites as for now I am focusing only on the magento site i.e. magento.site. However, if ...
nix's user avatar
  • 127
0 votes
1 answer
34 views

http to https redirect

I've followed all the solutions found in similar issues in the forum. I have no succeed doing it. What i have: Magento 2.4.3 Varnish Cache 6 (set to work at port 80) Apache (set to work at port 8081 ...
rt89's user avatar
  • 11
0 votes
1 answer
91 views

Varnish cache missing in headers - Is it running at all? How to chek?

My apologies if that question is already asked - I searched thru all related questions but found a similar not exact match to my problem. What is my set: Magento 2.4.3 running on Ubuntu 22.04 server ...
rt89's user avatar
  • 11
0 votes
1 answer
114 views

Varnish vs NGINX Cache for Magento 2

I have recently moved to Magento 2.4.4 My server currently is running on WHM with Nginx reverse proxy cache. My Magento is using the built-in Redish Full Page Cache. Recently I went to hire a ...
loginid's user avatar
  • 394
0 votes
1 answer
52 views

Magento 2.4.6 mulitple vhosts on a single server and Varnish in Docker

Afternoon I've got Varnish running on a Plesk based server and all is working well based upon the instructions from here: https://talk.plesk.com/threads/magento-2-plesk-varnish-setup-in-a-docker....
wjp_bill's user avatar
  • 330
0 votes
2 answers
370 views

Varnish Cache won't clear on Magento 2.4.2

I'm running Magento 2.4.2 and have recently added Varnish to it. The site also has Cloudflare in front of it. The server is running Plesk (Ubuntu) and Varnish is running in Docker within Plesk. I've ...
wjp_bill's user avatar
  • 330
1 vote
2 answers
138 views

Prevent phtml template from FPC/Varnish cache - Magento2.4

We created a custom phtml template with some customer specific php, that must be loaded for each customer/pageload again. So we created the phtml template and added the following code to layout/...
JGeer's user avatar
  • 1,420
0 votes
0 answers
58 views

Magento 2 - Purge Varnish Cache for specific CMS Block

I have correctly implemented the purges to varnish from Magento, but when I modify a product the changes are reflected when it is not inside a cms block, for example when I see them inside a category ...
Diego Castro's user avatar
1 vote
0 answers
60 views

Running magento and varnish in kubernetes

Our M2 store is in development and we are in the process of adding Varnish enterprise. Magento is installed in its own namespace in Kubernetes called m2-dev and varnish is in another namespace called ...
phil brady's user avatar
1 vote
1 answer
137 views

Magento 2 - Error after setting Varnish host and port in purges when trying to save modifications to a product

I have configured the host and port to purge Varnish as it says in the official documentation: bin/magento setup:config:set --http-cache-hosts=varnish_host:varnish_port But when I try to save the ...
Diego Castro's user avatar
0 votes
1 answer
262 views

Mageno 2.4.6 with Apache - Varnish - Nginx Proxy on HTTPS

System: Ubuntu 22.04 LTS Varnish Cache 7.0.3 Magento 2.4.6-p2 Ngnix 1.8 Apache 2.4 Magento (Setting Web) set Base URLs with HTTP http://magento.com Magento (Setting Web) set Base URLs (Secure) with ...
Pako's user avatar
  • 175
0 votes
1 answer
45 views

Prices not changing as per country because of varnish , Any idea?

I have varnish configured and its works fine but its not allowing to change the price block as per countries. Varnish is storing prices in caching so how can i make prices works dynamically ? Without ...
Mukesh Prajapati's user avatar
0 votes
1 answer
210 views

Purge URL from multiple Varnish Servers in multi domain setup

I would like to purge a specific URL from a multi varnish Server enviroment. The extra is that we have multiple Domains running over the same Varnish. curl -X PURGE -H 'X-Magento-Tags-Pattern: .*' -H '...
Luco's user avatar
  • 23
0 votes
1 answer
60 views

Magento 1 / 2 and Varnish

I currently run Magento 1 on my prod server without Varnish - it runs Amasty's FPC. I have moved my Mage 2 dev env. to my prod server now and want to use Varnish. My question - can I install Varnish ...
loginid's user avatar
  • 394
0 votes
2 answers
259 views

very confused about Varnish. Is it running or not? no headers it only says Pregma: cache

Maybe someone can help: on Ubuntu, nginx, latest magento (2.4.6), varnish 6 This is my Nginx conf setup: server { listen 8080 default_server; listen [::]:8080 default_server; listen 443 ...
Henri's user avatar
  • 123
0 votes
1 answer
472 views

Varnish always shows miss on my website

magento2.4.6 varnish6 nginx Varnish always shows miss on my website I have checked all the cacheable=false and isScopePrivate = true and setNoCacheHeaders in my website but it still shows miss on the ...
c.gong's user avatar
  • 21
2 votes
1 answer
565 views

Magento 2 Configured Varnish after check X-Magento-Cache-Debug show Miss?

i have configured varnish in magento 2.4.5. i am getting varnishlog command X-Magento-Cache-Debug: MISS. currently i am using apache server. I have configure varnish in Magento 2.4.5. Backend ...
pankaj parmar's user avatar
2 votes
1 answer
135 views

Magento 2 : Configure Varnish in Backend but not hit or miss in Frontend

We have configure varnish in Magento 2.4.5. Backend configure some as given below Screenshot. https://i.imgur.com/eFDqz6V.png but in frontend not show "X-Magento-Cache-Debug:MISS/HIT". ...
Sutariya Parth's user avatar
0 votes
2 answers
158 views

How to resolve Magento 2 varnish 503 error which shown only on cart/checkout page?

Have enabled varnish for magento 2 and all the static page, PDP and PLP pages working properly. But some time the checkout flow shows 503 error. If i refresh the page it loads properly.
Venthan's user avatar
  • 11
0 votes
3 answers
587 views

Magento2.4.6 how to verify that varnish is already running

I installed Magento 2.4.6 and varnish 7.1 on ubuntu 22.04, and opened port 8080 on AWS EC2, but I didn't find varnish HTTP response headers on the Frontpage. But my website works fine. Do you know ...
Angelo's user avatar
  • 89
0 votes
2 answers
53 views

Issue with Varnish Cache while adding or editing a Product in Catalogue

Whenever I try to edit or create a new product on my Magneto 2.3 website, I am getting 503 Error in Varnish. Upon checking the log entries I found the below error message and am unsure how to fix it. ...
Logesh K's user avatar
0 votes
1 answer
330 views

error 503 after I added varnish to magento

I'm having a an issue after I added varnish to magento 2. website is not working now it give me this error Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 261 Varnish cache ...
minaax's user avatar
  • 1
0 votes
1 answer
39 views

We can't find products matching the selection - Cached (Varnish) M2.4.5

In rare cases we have category pages showing "We can't find products matching the selection" while actually the category contains products. This happens when the category is visited while ...
Anton-GrNL's user avatar
0 votes
1 answer
323 views

We have HTTP varnish as it is coming from port 80 but not HTTPS

I have followed Blogs to configure Varnish on our Magento store with the help of a server person. Magento version 2.3.5-p1 Varnish version : varnishd (varnish-5.2.1 revision 67e562482) Server - Ubuntu ...
Dharmesh's user avatar
  • 142
0 votes
1 answer
401 views

Magento 2.4 Error flushing Varnish server. Host: "127.0.0.1". PURGE response code: 501 message: Not Implemented

We are using Magento 2.4.5-p1 and PHP 8.1 versions. When we are running upgrade commands getting an issue of - Error flushing Varnish server. Host: "127.0.0.1". PURGE response code: 501 ...
sumeet bajaj's user avatar
  • 1,316
0 votes
2 answers
690 views

Magento2.4.5 Varnish alway so 503 backend fetch fail

I have setup Vanish 6 on Magento2.4.5 but it alway show 503 backend fetch fail. My nginx config: upstream fastcgi_backend { server unix:/run/php/php8.1-fpm.sock; } server { server_name mysite....
the light's user avatar
  • 728
2 votes
2 answers
282 views

AWS Bitnami Magento Caching issues

I have been observing difficulties with updating custom magento modules, theme updates, etc which seems related to caching beyond magento caches. For example when there is a modification version 1 of ...
Indunil Ramadasa's user avatar
0 votes
1 answer
209 views

Varnish enabled or not?

Hi dears I installed varnish cache on centos 7 , nginx 1.20.1 and magento 2.4.5 -p1. After that I don't seeing any header about varnish on my browser. Another thing when I clear cache I have log in ...
Peren's user avatar
  • 27
1 vote
4 answers
2k views

Magento 2 - No cache server(s) could be purged

I try to clone a project to which was running on nginx and using varnish. I try to run it on apache2. I get this error: report.CRITICAL: No cache server(s) could be purged Cache host: company.vm:...
Black's user avatar
  • 3,390
1 vote
4 answers
3k views

Varnish Error 503 Backend fetch failed [duplicate]

Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 32790 Varnish cache server After varnish and configuration, error 503 occurred during the visit. The following are my related ...
Bob's user avatar
  • 15
1 vote
2 answers
450 views

Varnish with brotli -> missing ESI handling/filtering

I've compiled brotli modules for nginx and added following (from https://www.getpagespeed.com/server-setup/varnish/varnish-brotli-done-right) to varnish default.vcl: sub vcl_recv { if(req.http....
Twisted_Jar's user avatar
1 vote
0 answers
752 views

Magento 2 - Serve cached content from Varnish while fetching a new object from the backend to deliver it on the next request

When I change any objects in the Magento backend, a PURGE request is sent to Varnish which results in a slow response time once a customer requests the changed product. The site is then loaded into ...
Permittivity's user avatar
1 vote
1 answer
636 views

Set cookie not working with varnish

I've created the following observer method that sets a cookie: if ($this->_cookieManager->getCookie(self::COOKIE_NAME)) { $this->_cookieManager->deleteCookie( ...
AboElnouR's user avatar
  • 213
2 votes
1 answer
363 views

How to create MFTF Testing for custom module in Magento 2.4.5

I have studied the MFTF documentation to create and test the custom module before submitting the extension to Magento Marketplace But it is difficult to understand how it works. Can you help me with ...
Japharul Alam's user avatar
1 vote
1 answer
1k views

Magento Cloud - Error 503 first byte timeout during customer login

I'm facing a cache issue that wasn't there before, my Adobe Commerce Cloud 2.4.5 + Fastly is showing this error message below when I'm trying to log in via customer account or perform some actions in ...
Rafael Corrêa Gomes's user avatar
1 vote
1 answer
243 views

Custom VCL snippet for fastly is not deployed

We are using Adobe Commerce Cloud v2.4.4 - with the fastly extension 1.2.185 In the documention for custom VCL snippets there is a section for automated custom VCL snippets deployment. We did add our ...
oehmiche's user avatar
  • 121
2 votes
0 answers
66 views

magento2.4.5 Static files do not recognize upper and lower case letters

Multi-store, open static file signature, after using varnish, magento2 language has larger letters, template directory letters are case indistinguishable. for example it_IT is parsed as it_it, and ...
mcoo's user avatar
  • 17
0 votes
2 answers
959 views

Varnish and cache warmer

I use cache warmer (Mirasvit) with Varnish. Cache warmer doesn't work correctly - either doesn't warm up product pages (config from: https://www.varnish-software.com/developers/tutorials/configuring-...
Twisted_Jar's user avatar
0 votes
1 answer
3k views

Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR

I have Magento 2.4.4 running on Plesk CentOS Server. PHP 8.1 PHP FPM Enabled Varnish on Port 80 Nginx on Port 8080 and 443 Apache on Port 7080 and 7081 Most of the time the website doesn't load well ...
David Buik's user avatar
0 votes
2 answers
867 views

Varnish default.vcl confusion

I'm trying to install varnish and I'm baffled about which configurations default.vcl file to use. The scenario: 1- I exported the magento varnish configuration file using the command bin/magento ...
AboElnouR's user avatar
  • 213
0 votes
1 answer
124 views

Varnish cache_invalidate methods - tags explanation

What is the difference between the these two cache_invalidate methods here? [2022-07-07T07:49:19.265402+00:00] main.DEBUG: cache_invalidate: {"method":"GET","url":"...
Jesper Brejning's user avatar
0 votes
1 answer
230 views

What module is causing cache clean everyday around 13.30 o'clock

Everyday around 13:30 o'clock something is running a cache clean function in our code. How can find the module? [2022-06-28T13:30:08.670600+00:00] main.DEBUG: cache_invalidate: {"method":&...
Jesper Brejning's user avatar
0 votes
1 answer
194 views

Magento totally invalidate varnish cache on every cron group:index run

Our Varnish cache is flushed every 20 minutes. Timewise in debug.log it looks like it's a cache_invalidate like this that fullly flush the Varnish Cache every 20 minutes when group:index cron is run. ...
Jesper Brejning's user avatar
0 votes
1 answer
1k views

Whats is major impact when implements redis cache and varnish cache on Magento 2?

I am finding out some of below question regrading cache. What is radis cache and varnish cache? Why we need to implement in Magento 2? What major impact we are show in Magento 2 website? Thank you.
Sweety Masmiya's user avatar

1
2 3 4 5
9