Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [varnish]

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

0
votes
1answer
22 views

Magento 2: Facing issue in varnish configuration

I have installed the varnish on the server. Now I want to configure it with Magento 2 Please find the current values of all files below. Server IP: 4.1.173.181 Magento 2 Admin: Stores > ...
0
votes
3answers
36 views

Nginx + Varnish does not redirect domain to https

I performed the installation of magento2.2.6 with varnish and redis I am in trouble when I try to access the site through the domain (emporiobit.com.br) Error 503 error occurs Backend fetch failed ...
0
votes
3answers
25 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 ...
0
votes
3answers
25 views

Magento2 does varnish cache help to improve performance on development mode?

I am working on a Magento EE project and version is 2.1.15, and since we have lots of product on the products page, and takes 22s to reload the page, so i am wondering will varnish help to improve the ...
0
votes
1answer
34 views

X-Magento-Cache-Control Header Extra Variables

Has anyone else had the issue with 2.2.6 and Varnish 5, where extra variables are included in the header? My header retruns; X-Magento-Cache-Control: max-age=86400, public, s-maxage=86400, max-...
3
votes
1answer
102 views

Magento2 : Will cacheable=“false” invalidate cache in varnish cache?

I have store in Magento2 and planning to integrate varnish cache. Want to confirm if there is an issue with cacheable="false".
0
votes
1answer
123 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 > ...
2
votes
0answers
38 views

Magento 1.8 and varnish cache 4.0.5 get 404 product page issue randomly

I have used varnish cache for awhile on my Magento 1.8. It worked well for a long time until now I'm having an issue that some product URL got 404 error. It's randomly, not specify any product. And ...
0
votes
2answers
63 views

How to install and Configure Varnish in Magento 2?

How to configure varnish in magento 2? Selecting Varnish Cache in Stores Configuration is enough?
0
votes
1answer
94 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 ...
5
votes
7answers
2k views

Magento 2.2.5 to 2.2.6 upgrade error

When trying to upgrade from Magento 2.2.5 to 2.2.6 I've noticed some strange behavior blocking the upgrade. The first commands I did without problem are: composer require magento/product-community-...
1
vote
0answers
44 views

Question about Magento speed and adding Varnish cache

I got a task to speed up Magento 2 site. Now im facing with a huge problem. Site is hosted on shared hosting (quite good and reputable company). There is plenty of power but every shared hosting has ...
2
votes
0answers
44 views

Product's “Layout Update XML” code disappears from the site every 24 hours

I have some products with "Layout Update XML" Design updates (simple XML pointing to a template file; very basic and in the correct format). Every 24 hours after a cache flush, the code vanishes from ...
2
votes
3answers
161 views

Slow Magento 2.2.5

Good evening, my site is https://www.emporiobit.com.br it is not yet in production. I use magento 2.2.5 with varnish and redis I configured 4G for Varnish and 4G for php memory_limit, my VPS has 12gb ...
0
votes
1answer
21 views

Question for the Purge Experts!

Setup: Magento 2.2.4 Multi-Store (running on Apache server) Varnish 5.2.1 (in combination with Hitch to handle ssl) Redis 4.0.11 Problem: When saving a product not only the related categories/...
1
vote
0answers
48 views

Cache issues with logged in users Magento2

We're facing an annoying issue in Magento 2.2.5. We have customers that are attached to a customergroup with different prices. This is our scenario: User visits 2 or 3 categories and sees the regular ...
0
votes
0answers
45 views

Varnish Intermittent 503 on larger files

I have a standard Magento 2 / Varnish setup with Redis as a session backend and Nginx for SSL termination - most things are working as expected but sometimes I get the 503 backend fetch error from ...
2
votes
0answers
84 views

Varnish intermittent 503 in Magento 2

I've followed the dev docs on setting up varnish, and increased the http_resp_size and http_resp_hdr_len when the daemon starts. Most of the time it's fine, but every once in a while I will get a ...
1
vote
2answers
96 views

Page doesn't contain HIT in cache header

I am publishing my magento extension but in the revision I was notified of the issue: Does anyone have any useful help?
0
votes
0answers
60 views

persistent backend 404 errors on magento 2.2.5

working on setting up a new server on a centos 7 installation with a LAMP stack (php 7.1) and no matter how we're going about setting up this server, at some point in the process we will get ...
0
votes
0answers
41 views

Magento 2.2.5 loaded unconfigured site

Good afternoon everyone. I am having problems regarding the magento cache This is configured magento 2.2.5 + varnish-5.0.0 + redis 3.2.6 The site is loaded both admin and frontend but is loaded ...
1
vote
0answers
27 views

Category Navigation suddenly disappeared

Sorry in advance I'm not very familiar with Magento. I am working on a Magento Web Shop and one day the top navigation, where you can open the categories, just disappeared. I tried searching in the ...
0
votes
1answer
509 views

Varnish and no-store, no-cache, must-revalidate, max-age=0

I am using Varnish with Magento 2. I see that cache works (but for a short time) since I have the X cache: hit. And the TTFB is really good (40ms). But I have *no-cache, must-revalidate, max-age=0* ...
5
votes
1answer
455 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
vote
1answer
195 views

How to use Identities for to implementing hole punching in my custom module magento 2

I tried this link link Not working for me. Any other way to achieve the hole punching.
3
votes
2answers
248 views

Magento 2.2 : How to programatically clear the varnish cache by cache tag

I need to switch the currency based on user IP location so I'm using this auto currency extension, it works only when I disabled the FPC otherwise it just cache the previous content and never gets ...
0
votes
0answers
62 views

Magento 2.2.3 with Varnish 5 wrong content for customer (groups)

We are still running Magento 2.2.3 (not yet 2.2.4) with Varnish 5 and we experiencing the following issue: Always some category pages show prices for specific logged in customers (based on their ...
2
votes
1answer
50 views

how to create not cacheable helper method?

We have written logic to find client IP address in the custom helper. public function getIpAddress(){ .............. return $ip; } It works only at first hit after that it only displays the old ...
1
vote
0answers
132 views

Magento 2 : X-Magento-Cache-Debug:MISS, over SSL, pages are not being cached by varnish

I have configure varnish with magento 2 with the reverse proxy in apache ubuntu. But, when I see at the headers, I always get the header MISS from the host. So, page is not being cached by the ...
0
votes
0answers
99 views

Magento 2 : Varnish not working with HTTPS

I have configure the varnish for Ubuntu 16.04 with magento 2. Varnish cache is working with the server ip or when I check with output of curl -I http://localhost Output : Last-Modified: Mon, 28 ...
0
votes
0answers
48 views

Magento 2 - Which cache are required to be installed on server for best performance in Magento 2?

Magento 2 best performance which are the cache should be installed on the server for best performance of Magento 2 website in production mode? Varnish/ Redis/ Memcache which one is best option to ...
0
votes
0answers
26 views

Custom Shipping Module fails technical review

I have a custom shipping module that is being migrated from M1 to M2. Currently, the module works on our dev instance but when we submit to the Marketplace it fails the varnish checks. I don't have ...
1
vote
0answers
316 views

SSL, Nginx, Varnish - Too many redirects

I know there are several questions on this issue, but no solutions seems to work for me. I have Magento 1.9 running on Nginx port 8080 and with Varnish in front running on port 80. Without SSL it's ...
0
votes
2answers
410 views

Magento 2.2 home page only 503 error on varnish

All pages are working fine and the only home page is giving error: Error 503 Backend fetch failed with varnish 4 enabled
0
votes
0answers
16 views

M2: Trying to Put uncacheable data error

I have the following error in my apache 2 error log repeating many times: [Fri May 04 17:02:36.591798 2018] [pagespeed:error] [pid 8124] [mod_pagespeed 1.12.34.2-0 @8124] [0504/170236:ERROR:...
0
votes
2answers
161 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
358 views

Apache reverse-proxy to serve SSL to Varnish on magento 2 - results in 503 Backend Fetch Failed

magento 2 install on a centos 7 server. with a LAMP stack (php 7) we have installed magento 2.2.3 with the virtual hosts only using SSL through port 443 and have now come to installing and ...
0
votes
1answer
318 views

Varnish purge is not working when clean the magento cache

We have successfully configured varnish in our magento website, it's working great. But the problem is varnish is not purging when we clear the cache either via admin panel or ssh command. We restart ...
-1
votes
1answer
213 views

Magento 2 redirect non-www to www nginx and varnish [duplicate]

what is the right way to redirect all http://domain traffic to https://www.domain for magento 2 on nginx and varnish server?
0
votes
0answers
18 views

Magento 2 Varnish internal modifications to support theme regex

I'm trying to configure "Design Rule" (M2 Admin Panel > Content > Design > Configuration) on Magento 2.2.2 store that uses varnish 4.0.5 as Page Cache. And it doesn't work for me out of the box. I ...
0
votes
0answers
62 views

Rejected from review some problem with varnish

I'm new in Magento extension development and have some problem with publication my extension to marketplace. I can't find some useful info about this problem on the Internet. Maybe some of brave ...
0
votes
1answer
498 views

Varnish - NGINX serving all resources HTTP instead of HTTPS (Magento 2) [duplicate]

I'm using an Ubuntu / NGINX server configuration. Followed the directions found here: https://www.rosehosting.com/blog/magento-2-with-redis-varnish-and-nginx-as-ssl-termination/ I installed the SSL ...
0
votes
0answers
220 views

Is it possible to refresh the varnish cache programmatically in Magento 2?

I am looking for code that can clear varnish cache in Magento2. Need in the PHP script. It should not be manual.
2
votes
0answers
61 views

Varnish cache top navigation menu [closed]

Well first of all We have using the Porto theme and using the mega menu. we currently running magento 2.2.3. It's seems that when we Enabled varnish on my Current Magento and configure everything ...
0
votes
0answers
609 views

Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 45654 Varnish cache server

we are using MAgento 2.1 and elastic suite ,rediss cache and varnish cache 4 so we have 60 K products in our site and recently we updated attribute in magento2 admin from that day onwords we are ...
0
votes
1answer
265 views

Magento 2 Incorrect dependency in class already exists in context object

I created a extension submitted for approval On my local there is Varnish cashe enabled but sudo php bin/magento setup:di:compile runs without any error. I got 6 errors in Technical Report ...
1
vote
3answers
1k 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
28 views

Cache invalidates after a product or category edit is done or after order is placed

We use Magento 2.2.3, PHP 7.1, Varnish Cache and running in Developer Mode (but also tested in Production) Steps to reproduce 1. Activate Varnish or use Internal Page cache (result the same). 2. Warm ...
1
vote
1answer
628 views

How to cache Magento 2 with Varnish

Having setup Magento 2, after looking at response headers and the page itself i think that any page is not cacheable without a lot of work. I am not a Magento developer just a guy that was requested ...
0
votes
0answers
35 views

Access Integration API returns 403 with LAMP, Nginx proxy server, and Varnish Enabled

I am running into an issue where the website is accessible thru port 443, but if I try to integration API access (key, secret, token, secret), it will give me error 403. I suspect the Nginx Config ...