Questions tagged [varnish]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 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 ...
  • 1
0 votes
1 answer
13 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 ...
0 votes
1 answer
29 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 ...
  • 142
0 votes
1 answer
61 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 ...
  • 1,185
0 votes
2 answers
114 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....
  • 678
2 votes
1 answer
56 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 ...
0 votes
1 answer
77 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 ...
  • 17
1 vote
4 answers
421 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:...
  • 2,903
0 votes
0 answers
64 views

Product view - Varnish - add to cart link gives error 404

Recently I have started getting an error 404 for add to cart link: /checkout/cart/add/uenc/...../product/1432/ when clicked in product view page. In category view all is fine. It seems like it is ...
0 votes
3 answers
290 views

Varnish Error 503 Backend fetch failed

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 ...
  • 5
0 votes
2 answers
95 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....
1 vote
0 answers
260 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 ...
0 votes
1 answer
159 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( ...
  • 183
1 vote
1 answer
141 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 ...
0 votes
1 answer
347 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 ...
0 votes
1 answer
83 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 ...
  • 111
1 vote
0 answers
37 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 ...
  • 7
0 votes
2 answers
305 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-...
0 votes
1 answer
2k 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 ...
0 votes
2 answers
354 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 ...
  • 183
0 votes
0 answers
33 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":"...
0 votes
1 answer
72 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":&...
0 votes
1 answer
98 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. ...
0 votes
1 answer
292 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.
0 votes
1 answer
62 views

Different full page cache per website

I have a multi-website setup and I would like 1 of the websites to use Varnish and but the other website to use Built-in Cache. I have looked and when I change the scope in Stores -> Configurations-...
  • 2,519
0 votes
1 answer
254 views

Installation & Varnish Test Results - Failed in 7.4 & 8.1 in magento marketplace

Installation & Varnish Test Results - Failed in 7.4 & 8.1 when automation testing in marketplace
2 votes
1 answer
902 views

Varnish - Error 503 Backend fetch failed (Header too long)

Getting following error while using Nginx. Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 32771 Varnish cache server Following error logged in varnish log. BogoHeader ...
0 votes
1 answer
301 views

Is "page_cache" the same thing as full page cache in app/etc/env.php?

I was reading this article where the author shows how to configure both varnish and redis for Magento 2. In the first portion, he configured Varnish. In the second section, he ends up using this ...
0 votes
1 answer
644 views

Magento2 How to restart varnish with magento cache clean / flush

I have setup varnish and varnish is working okay with service varnish restart command but i want to restart varnish with php bin/magento cache:flush command. Does anyone suggest me how i can do this .
1 vote
1 answer
219 views

How to setup different Varnish cache blocks based on request?

I have a redirect in my store that shows a different store view based on the client's location. It reads the header via Fastly and redirects the customer to a different store view using every time the ...
0 votes
1 answer
814 views

How magento 2.4 clean varnish

According to magento Devdocs for Varnish cleaning If you have configure in env.php the --http-cache-hosts parameter magento can clean Varnish cache from admin like it clean its internal caches. This ...
  • 1,022
0 votes
1 answer
97 views

Magento 2 website varnish x-varnish-age = 0

When I refresh page and check the header of homepage I got this below information where x-varnish-age=0 Want to confirm if there is an issue with cacheable="false"? If any block on page is ...
0 votes
1 answer
174 views

Currency switcher shows different currency in random pages - Caching related issue

I am running magento 2.4.3 and I am having as default currency EUR in my website and as allowed currencies, EUR and USD only. Visiting the site homepage, EUR shows to be the default currency but when ...
0 votes
1 answer
655 views

How to resolve Varnish Server Caching Issue in Magento 2?

in my setup, I need to clear varnish caching at the server at all time even I make small changes then also need to clear the varnish cache at the server side so can anyone help me with this?
0 votes
1 answer
704 views

Is Varnish+Redis+Memcached+Nginx a good idea?

We've just launched www.artlounge.in on a Digital Ocean droplet using Cloudways, As part of the cloudways offering you can have all the below activated at the same time Varnish Memcached Redis Nginx ...
0 votes
0 answers
267 views

magento 2 varnish 6 image not working

configured a Varnish6.2.1 on Magento, but some of the images in the foreground show 503。 Part of the background does not show when uploading product pictures。 I checked the Varnish log and it showed &...
1 vote
1 answer
450 views

Extreme big headers only in large configurable products

We have a Magento 2.4.0 store. Most of our products are configurable. And some of them are having a lot of options. We also use swatch options. We have discovered some links which return: Error 503 ...
  • 1,022
0 votes
1 answer
201 views

Magento 2 on Apache + Varnish getting continuous purge request

I have configured Varnish on my ubuntu server with apache. But varnish is showing a lot of repetitive purge requests and the site is extremely slow. What could be the reason behind it? I have magento ...
0 votes
1 answer
197 views

Quote table showing same IP for each Quote Entity

I have set up Varnish 4 in Centos 7 with Apache and Magento 2.4.2. Varnish is working fine but there is one issue we are facing is that. Every order or quote showing the same customer IP which is of ...
0 votes
1 answer
70 views

Last-Modified header is M2.4.3 upgrade date

We have recently upgraded our M2.4.3 version and have noticed that the last modified header for all our web pages is now fixed at the exact upgrade date of our store across all web pages even newly ...
  • 521
0 votes
1 answer
63 views

Magento 2 : What is Purpose of Custom Varnish Synthetic Rule For Customer Ajax Login?

I have a situation where customer ajax login is not working even though the customer submits valid credentials. Instead, the page reloads and the customer is not logged in. To clarify, it DOES work ...
  • 1,159
0 votes
1 answer
141 views

Magento 2 : Sign In/ Sign Out link improper behavior with varnish cache

Preconditions (*) Magento 2.4.2 Varnish 6 SSL enabled Steps to reproduce (*) Configure magento to use varnish cache. Sign In and browse some pages. Then Sign out. Expected result (*) After sign-...
  • 1,042
0 votes
3 answers
484 views

Varnish applied to Magento 2 Instance?

I have installed the Varnish and configured it to my local instance. And I have created the logs before Varnish and after Varnish as below. And the front-end response headers. My question is when I ...
  • 3,980
0 votes
0 answers
213 views

Magento2 Special Price is not correctly reflecting on Product List Page and Search Page

Pr-conditions: Magento version: Magento Commerce 2.3.6 Varnish version : 5.2.1 PHP version: PHP 7.2.33 MySQL version: 5.7 Multi Website architecture Catalog Price Scope = "Website" (Admin &...
  • 1
0 votes
1 answer
235 views

Varnish not loading content from cache when refreshing manually

We have setup varnish on our magento AWS server with nginx ssl configuration. Varnish works fine on all other pages except the homepage. Case 1 - Refresh the page with reload button on browser - TTFB -...
  • 896
0 votes
1 answer
2k views

my varnish always miss

My varnish always miss,but if i refresh many time in one second,it will return hit. This is my default.vcl # VCL version 5.0 is not supported so it should be 4.0 even though actually used Varnish ...
  • 11
0 votes
1 answer
718 views

Purge Varnish Cache for specific URL with CURL

I have checked this but it did not help. On top of that, I receive an extra error on that question. When I run this: curl -X PURGE -H 'X-Magento-Tags-Pattern: .*' https://www.example.com/my-url It ...
0 votes
1 answer
1k views

Magento 2.4 Error flushing Varnish server. Host: "127.0.0.1". PURGE response code: 405 message: Not Allowed after running upgrade command

I enabled varnish cache from admin(magento 2.4), then I ran this command bin/magento setup:config:set --http-cache-hosts=127.0.0.1 Now I can't run the upgrade script. I'm getting this error: Error ...
  • 11
0 votes
2 answers
236 views

Magento 2 Target Rule constantly invalidating in EE

I am using Magento EE - 2.3.1 version with Varnish and my debug.log file is full with the below log report.DEBUG: cache_invalidate: {"method":"GET","url":"<...
  • 448
1 vote
1 answer
542 views

X-Magento-Vary Cookie Set Incorrectly?

Have noticed that sometimes my X-Magento-Vary cookie is set serving me up non cached pages. Removing this cookie allows the FPC to work fine again. Not entirely sure when these should be set but have ...
  • 5,335

1
2 3 4 5
8