Questions tagged [varnish]

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

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

how to upload default.vcl from magento2 to etc/varnish/default.vcl?

I follow this steps. (https://magemastery.net/blog/how-to-configure-varnish-6-and-nginx-with-ssl-for-magento-2) I install vanish and nginx complete. Now i export default.vcl from magento2 and set ...
0
votes
2answers
19 views

Magento2: How to serve cookie-less cached version for crawlers on Varnish cache

As far as i know; magento assign a X-Magento-Vary cookie to each visitor first you visit website. So your first request always be non-cached version. After you got a X-Magento-Vary you see cached ...
0
votes
3answers
33 views

Magento Error 503 Backend fetch failed

we have an AWS hosting, suddenly we got this below issue. Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 65561 Varnish cache server we cant understand what's causing this ...
0
votes
2answers
20 views

Magento 2.3.3 + Varnish + Nginx + SSL + CentOS - 302 Too May Redirects

Hoping there are some Varnish guru's out there that can show me my mistake here. I'm experiencing an endless 302 redirect for both the frontend and admin. Here is my configuration: Nginx Configuration ...
1
vote
1answer
40 views

Magento with Varnish - var/cache folder still being used

I have a Magento store configured with Varnish. When everything is up to date site is fast. If I change something in the backend it doesn't get reflected on frontend unless I manually delete var/cache/...
0
votes
1answer
35 views

Varnish & Cloudflare on Magento 2 - issues

I'm using Varnish on my Magento 2.4.1. I've enabled Cloudlfare now, it works well but when I do some changes on the backend (like adding text on category pages, etc), it is not reflecting on the ...
1
vote
1answer
1k views

Time To First Byte with varnish cache - 12 seconds

I installed varnish cache and verified using official guide. In official guide mention 5ms to load the url with varnish but mine it is 12s. Info: OS : ubuntu 14.0.4, webserver : apache2, php : 7, ...
0
votes
1answer
38 views

Updating products on backend doesn't reflect on frontend

I have this magento store I just installed and configured according to guides Varnish cache. Website now is blazing fast, but if I update a product (for example, add a description), even if I cache ...
1
vote
2answers
875 views

No varnish headers

I install varnish(5) just like here: https://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html I make test from varnish cli varnishd -d -f /etc/varnish/default.vcl start ...
0
votes
1answer
1k views

Magento 2.2.6 Varsnish not working after complete configuration

I have configure varnish in my Magento 2.2.6 still not getting option X-Magento-Cache-Debug: HIT. Anybody know what i am missing in my configuration. Below is my default.vcl file. vcl 4.0; import ...
0
votes
0answers
7 views

Configurable product is showing varation for for first time but then variation is not shown

I am facing a weird problem , the configurable product is showing variation Some products are showing variations and some are not they are having same attributes filled up at the backend Kindly guide ...
0
votes
0answers
21 views

Error 503 Backend fetch failed in varnish cache magento

I am configuring Varnish cache in for my magento site I have followed the step from following url https://www.howtoforge.com/tutorial/how-to-install-varnish-with-nginx-on-centos-7/ But when i enter my ...
2
votes
3answers
2k views

Magento 2 and Varnish 5

According to Magento DevDocs http://devdocs.magento.com/guides/v2.0/config-guide/varnish/config-varnish.html, Magento 2 supports Varnish versions 3.0.5 or later or any Varnish 4.x version. Is ...
1
vote
0answers
48 views

Varnish - NGINX HTTPS (Magento 2) returns 500 Server Errors

I have configured HTTPs on Ubuntu Nginx. It works perfectly. However once I implement Varnish,apart from the homepage, all other pages/CSS and Javascript files returns 500 Server Errors. My nginx. ...
0
votes
1answer
111 views

How to cache graphQL post query using varnish in magento 2

In our project we are using graphql. All the query and the mutation are post request. I have configured the varnish with magento. But it seems that post request will be bypassed. Since all my query is ...
11
votes
3answers
4k views

Magento 2 : Menu does not appear on home page

In Magento 2.2.4 CommunityOrEnterprise edition default menu not appear on home page when enabled Varnish Cache. Actually problem is related to Varnish Cache if I set Varnish Cache from Store -> ...
-1
votes
1answer
78 views

How to install varnish in Windows 10

I wants to install varnish in my windows pc. Please provide proper link or detail about varnish installation.
0
votes
2answers
137 views

Magento 2 : Installation & Varnish Test Results Failed => Class Does not exist Magento Marketplace

We have created the custom module and uploaded to Magento Marketplace and Installation & Varnish Test has been failed due to class does not exist. If the class not exists, How the Code Sniffer ...
1
vote
1answer
513 views

Magento 2.3.3 - Varnish session issue

I'm having a bug with the Varnish Caching and after investigating and searching for a solution, I'm still not able to solve the problem. The FPC is working fine most of the times, but sometimes the ...
0
votes
3answers
998 views

Magento 2: How to set up varnish cache with out CSS and JS file

I have the varnish cache set up and working fast for me, but the only issue is i can't clean the CSS and JS cache. If and only if I restart the varnish cache. So I am looking for a solution that can ...
8
votes
4answers
19k views

Magento 2 503 Backend Fetch Failed

Getting 503 Fetch Failed in M2. I've redis and Varnish server running along with Nginx my varnishlog says my default.vcl vcl 4.0; import std; # The minimal Varnish version is 4.0 # For SSL ...
1
vote
3answers
3k views

Magento2 with nginix + ssl + varnish admin redirect loop issue

everything working fine, but when I enable secure admin (ssl) it gives redirect loop issue. I am not able to use admin pannel also cross origin issue for front ens static content. I am using ssl over ...
1
vote
3answers
909 views

Menu not showing on varnish enable

After Varnish cache enables from Magento admin catalog menu disappears Steps I follows to enable cache *Admin>>> Store >> Configuration *Advanced>>>> System *Full Page Cache Please find setting ...
2
votes
1answer
1k views

Magento 2.3.1 varnish and cloudlfare - pages not caching as expected

We have a Magento 2.3.1 store that uses CloudFlare and has Varnish enabled. If we use wget or curl to load a page, that page is cached in Varnish if we try wget or curl again on that same page. ...
0
votes
0answers
37 views

Magento 2.4.1 varnish cart flushed issue

I am having this major issue which forced me to bypass varnish for magento 2.4.1 instance. I use varnish 6.4 with Magento default vcl file. When you add a product in cart and then go to cart or ...
0
votes
2answers
137 views

Recently viewed section is cached and not updated

I have added the /etc/widget.xml, to call the recently viewed in Footer container. The recently viewed block is display but it's applied with cache so the newly viewed products are not updated. The ...
0
votes
1answer
48 views

Infrastructure setup: How to setup Varnish to work with shared cache in AWS Auto Scaling Group

What is the best infrastructure setup for M2 with varnish on AWS with Auto Scaling Group We have the following setup now Cloudflare -> ELB -> AWS Auto scaling group EC2 (+ RDS database + media ...
0
votes
1answer
810 views

pound varnish nginx ssl redirect loop

i am trying to put nginx as a application server for magento with varnish being on top and pound as ssl termination , problem is the whole setup result to nasty redirect loop. using apache and adding ...
0
votes
1answer
162 views

Magento 2.4 Varnish error 503

I got a copy of my Magento in another server, all checked permissions, vanilla installation, domain, but I don't find the issue, I keep seeing this error message below. Error 503 Backend fetch failed ...
0
votes
1answer
148 views

Magento 2.4 Varnish error STACK OVERFLOW

I have a dockerised M2.4 installation. All worked fine with my theme and the installed extensions while working with Magento demo data. As soon as update the database with the live data I cannot get ...
6
votes
2answers
2k views

What is the purpose of http_cache_hosts entry in app/etc/env.php?

I have configured Varnish cache in the local Magento 2 environment and It is working fine. I have added the below lines in the app/etc/env.php file. 'http_cache_hosts' => [ [ 'host' =&...
0
votes
2answers
81 views

Varnish doesn't display full page with Magento 2

I'm having a weird issue while configuring Varnish with my Magento 2 store. My setup is such that I'm using a frontend server that routes the requests first to Varnish and then to Apache (as a ...
4
votes
3answers
13k views

Varnish - Error 503 Backend fetch failed

I getting this error how can i do? i try to editing many time but still not work. Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 35 Varnish cache server My ...
3
votes
1answer
4k views

X-Magento-Cache-Debug: MISS

I installed Varnish, but getting this message. Varnish cache not working. And check the var/page_cache/ directory is not empty.still have mage-tags file. i have in System > Full Page Cache > ...
0
votes
1answer
215 views

Varnish cache always MISS on dynamic pages

Varnish doesn't seem to be working properly for dynamic pages, it always returns a MISS in the response headers whether the request is coming from the browser or the CLI (curl/wget). curl -IL -X GET '...
0
votes
0answers
29 views

Magento bitnami linux Setup Varnish

I want to configure and use : https://devdocs.magento.com/guides/v2.3/config-guide/varnish/config-varnish.html for Magento in bitnami Linux Can any one guide me port no which Port No Varnish should be ...
0
votes
1answer
35 views

How to add Varnish VCL rule in Magento Cloud?

I need to add a new VCL rule in my Magento Cloud 2.4, I'm using Fastly to have Varnish. How could I customize my Varnish configurations in Magento?
0
votes
1answer
70 views

Why I can't save any new CMS page or block in Magento Cloud?

I'm using Magento 2.4 and when I try to save any CMS block or page I got this screen below, saying The requested URL was rejected. How could I solve it?
0
votes
1answer
64 views

Setting varnish full page cache settings via environment variables

I'm trying to set the varnish settings through environmental variables. I have the following ones set: CONFIG__DEFAULT__SYSTEM__FULL_PAGE_CACHE__VARNISH__BACKEND_HOST: varnish-service ...
0
votes
0answers
25 views

Magento 2 - Varnish cache + Categories Menu (magento c:f vs -X PURGE)

Introduction Previously when Varnish cache is partially setup (but not working) the Categories navigation menu disappears. The menu shows properly now, but I have been testing Varnish configuration ...
0
votes
0answers
30 views

Magento taking 20 seconds to load

I have recently migrated our Magento 2 store to a new Instance in AWS after setting up Magento store in new instance the store loading time is increased to 22 seconds before In previous instance It ...
0
votes
2answers
370 views

Varnish Cache Magento 2 SSL offloading - X-Forwarded-Proto: https vs SSL-OFFLOADED: https

Previously (older Magento 2.2~ versions), exporting default.vcl Varnish Magento 2 configuration: Configuration -> Advanced -> System -> Full Page Cache -> Varnish Configuration : Export ...
3
votes
4answers
6k views

Catalog Product Media Cache 44 gb

My magento 2.2 site has stopped running because the server instance it is hosted on has run out of storage space, I have looked into what is causing this and found that the pub/media/catalog/product/...
0
votes
0answers
37 views

Magento2: Varnish Test result fail

I'm trying to submit an extension for Magento 2.4 but can't pass the "Varnish Test" stage because of the cache that can't be set up on some pages (simple-product and category): "...
0
votes
1answer
394 views

Magento 2 Gateway timeout how to resolve

I have a website on Magento 2 and when I try to access the website, it's really slow and it can take up to 2 minutes to charge a page. When I try to access the admin, either it's really slow like on ...
0
votes
1answer
161 views

Multiple Magento 2 Sites Varnish Configuration

I have a dedicated server centos 6 Apache I have different Magento 2 sites on the server with there own ip and domain. I have installed and configured Varnish for one site / ip running Magento 2 site ...
0
votes
0answers
211 views

Magento 2, Varnish and logged in users

Using Magento 2 and Varnish 5, varnish works perfectly if you aren't logged in. But when logged in as a normal customer you get an 80%-90% varnish miss rate. Is there any way to use data cached in ...
0
votes
1answer
31 views

Reg. Magento site deployment in AWS

I am new to magento stack, I have a requirement of deploying a magento based e-commerce in AWS. This site is expected to have 100,000 hits in first couple of months and within an year expected to get ...
1
vote
1answer
439 views

Magento 2 varnish Checkout to cart Redirect Problem

Preconditions 1.Magento 2.3.4 2.Must Varnish Enable Steps to reproduce 1)Do not add any product to the cart. 2)Directly go to https://www.sample.domain/checkout/ 3)Because No product in cart ...
1
vote
1answer
65 views

Can't see Magento 2 front nor admin page on excluded IP when in maintenance mode. Using Varnish

So as I said, I am trying to see my website while others see it in maintenance. BTW I have Varnish configured. What I did: magento maintenance:enable --ip=<my-ip-address> What hapened: At ...

1
2 3 4 5
7