Questions tagged [varnish]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
78 views

Magento Progressive Web App (PWA) - how to integrate Varnish Cache?

Same as above question "How to integrate Varnish cache into PWA ?" Please give me any solutions or suggestions :))Thanks everybody for reading!
0
votes
3answers
342 views

Magento 2 Header Sign In Sign Out Issue

I have ultimo theme on magento 2.3.3 with redis and varnish. After Sign Out the link still displays Sign Out and vice versa. Becomes normal after cache is flushed. looks like cache issue. Any help ...
4
votes
3answers
716 views

Is it worth paying for Litespeed + LiteMage Cache on a Magento 2 site, or can I do just as well with Varnish, Turpentine, Redis, etc.?

I am in the process of setting up a new Magento 2.3 store with Apache, Varnish (probably Turpentine) and Redis. All requests will be via HTTPS (SSL). I recently became aware of the Litespeed Web ...
1
vote
0answers
21 views

Magento On First Load Some ESI Blocks Slow

Hi we are using Magento 1.9 with Turpentine Varnish. When varnish serves non cached pages some ESI blocks load very slow. Is there any way to diagnose and fix this issue? One of the suspected ESI ...
1
vote
1answer
734 views

Magento 2.3.3 Varnish problems. Magento's VCL file is not working

I have managed to set up Varnish for magento 2 using nginx to handle SSL. However if I try to use the vcl file provided by magento varnish stops working with the usual "Error 503 Backend fetch ...
0
votes
1answer
227 views

Confused about Apache and Varnish Ports when redirecting HTTP to HTTPS with Magento 2

Our setup is a Magento 2.3.3 store running on a dedicated (not shared) Linux host. We have full root access and can edit all files as needed. The httpd server is Apache 2.4. Varnish is ver 6.3. ...
0
votes
0answers
179 views

M2 (2.3.3) + nginx + varnish issue

I have set up M2 (2.3.3), nginx, redis and varnish. However, varnish is not doing any caching as confirmed from header. I can access both frontend and backend. varnish.service - Varnish HTTP ...
1
vote
1answer
20 views

Show Varnish 'Age:' in production mode

Is it possible to show the varnish 'Age:' header in production mode. I want to be able to monitor how long our pages are staying in Varnish cache for. This header is only visible in developer mode ...
1
vote
1answer
58 views

Varnish is running but don't see varnish in the response header

I have set up Varnish and confirm it's running in the server. In the frontend browser response header shows this: Accept-Ranges: bytes Age: 46 Cache-Control: no-store, no-cache, must-revalidate, max-...
2
votes
2answers
71 views

Varnish cache is purged on every order

Each time I place an order in my Magento 2.3.3 installation all category pages are purged. I found these messages in the debug.log but I can't find what is causing this. Or could this be the default ...
0
votes
1answer
27 views

Assigning different BASE_URL for developer mode only

I that possible? I want to do this to set up a configuration like this: https://mystore.mydomain.com/ for production (with Varnish cache) https://mystore.mydomain.com:5001/ for development (...
1
vote
1answer
62 views

How does Varnish storage data?

I'm integrating Varnish for my site Magento ver 2.3 with the web server using Nginx. During learning varnish, I encountered some problems: When a request is sent to the server, where is the Varnish'...
5
votes
2answers
871 views

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

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

Magento 2.2/2.3 and varnish 6

Has Magento 2 supported varnish 6? Have anyone tried this?
1
vote
0answers
290 views

Magento 2.3 - Intergration varnish cache with, error socket :80: address already use

When I check status Varnish, always receive error : Error: Could not reopen listen socket :80: Address already in use. But, run command sudo netstat -nlpt, don't have process using port :80 ??? ...
0
votes
1answer
58 views

Magento2 + modal confirmation popup after page load

I want to open modal confirmation dialogue and based on that I'm operating some database operation as my need. So please suggest me the best way to open modal confirmation popup that should work even ...
2
votes
0answers
112 views

Magento 2 Varnish & Cookies

I have noticed when browsing our website with cache and cookies clear we get Varnish Cache HITS on every page (with cache warm). Once you add an item to cart then browse back to the same pages we get ...
2
votes
2answers
299 views

Magento 2.3.3 Varnish Cache invalidating and auto purging every 10 minutes

I have just implemented Varnish 6.0 on our Magento 2.3.3 install, everything seems to be working fine except our Magento cache/varnish cache is being flushed by Magento every 10 minutes. I can see ...
1
vote
1answer
31 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 ...
0
votes
2answers
75 views

Magento2 - Why Varnish is better the Full Page caching in Magento2

Magento2 officially recommend to use Varnish on production as it's much faster than the built-in cache, but they don't describe why it's better than the Full Page cache and what are the missing ...
0
votes
0answers
169 views

Magento, Varnish, Nginx : CSS, JS failing to load with incorrect mime-type issue

I am running magento 2.2.6 on a nginx server. I have Varnish installed on another dedicated server. When I use it via proxy-pass and contact varnish server first, I am able to load the magento website,...
0
votes
2answers
57 views

Varnish full_page cache can't clear

I've recently set my site up with Varnish full_page cache, and I have one specific URL that seems to be "stuck" and I am not able to clear it from the cache. Last night I went into maintenance mode ...
0
votes
1answer
63 views

magento 2 and varnish 5.2

I installed varnish 5.2 and Magento 2.3.2 after that I check the varnish header and it worked very well but after move default.vlc it does not work. this is my default.vlc https://pastebin.com/...
0
votes
2answers
56 views

how to install varnish cache in magento2 using localhost

How to install the varnish cache in magento2. I need setup the varnish cache in my system localhost. can anyone please guide me.
1
vote
0answers
197 views

Magento 2 multistore view switcher not working with multiple domains

When switching to another store view in the Magento front end, Magento responds only by redirecting back to the main store view domainstoreview1.tld/en_GB. The site worked ok with all the store views ...
0
votes
1answer
358 views

Magento 2.3.2 product save very slow with Varnish cache enabled

I have a very fast Magento 2 backend, I have configured Varnish caching. When I save any product, it takes about 20 seconds to save while loading the product edit page goes very fast. Saving category ...
0
votes
1answer
36 views

Magento 2 - Admin Breaks Frequently if we do not clear the cache for longer time

I am getting a very strange issue on my live site. If we do not clear the cache for longer time such as 2 to 3 days, any admin page gets broken. After clearing the cache it resolves issue but it is ...
1
vote
0answers
308 views

Magento 2 Varnish config

I am trying to get Magento 2, Varnish (in Plesk Docker) and Nginx to work with SSL but I just get Error 503 My nginx.conf #ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED ...
0
votes
2answers
66 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 ...
1
vote
0answers
394 views

Magento 2.X: HTML files blocked by CORS if using Cloudfront and no Varnish hit

I have Magento 2.3.2 with nginx backend, SSL only, and proxypass to Varnish. I have configured 2 distributions in my cloudfront CDN to serve media and static files. To handle the CORS issues I have ...
0
votes
1answer
78 views

Magento2 Varnish configurations for mobile

I am using varnish with magento2. however by default VCL doesn’t include device detection and assumes that websites are responsive so that the mobile and desktop browser would be served the same page....
0
votes
1answer
149 views

Varnish: Saving product clears all product pages

When I programmatically update a product, all cached products (varnish) seem to be cleared. This is the header from the purge request: ReqHeader X-Magento-Tags-Pattern: ((^|,)cat_p_3478(,|$))|((...
0
votes
1answer
62 views

Apache Nginx Varnish listening port Magento 2

Centos 6 Already using Apache + Nginx on my Magento 1 sites on a dedicated server For a Magento 2.2 site I want to run varnish However after installing varnish - i saw in the instructions need to ...
0
votes
1answer
44 views

Varnish Latest Version Centos 6.1 Magento 2.2

Please can someone clarify this for me I'm very confused. I want to install Varnish for Magento 2.2 Store - Linux CENTOS 6.10 [server] v80.0.22 Im using these instructions to install For CentOS ...
1
vote
1answer
793 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
1answer
531 views

Varnish with NGINX SSL proxy 502 error Magento 2

I am trying to setup an nginx backend with Varnish and magento 2.3.2. To do that the flow would be: Port 80 is forwaded to 443. 443 proxypass to Varnish Listener on 8080. Here is the nginx config for ...
0
votes
2answers
112 views

Questions about Varnish and magento 2

Is it true that varnish doesn't work with HTTPS? Is there an alternative that works well with magento 2? For two reasons, one I don't think it works with HTTPS, and two it's causing me too much ...
3
votes
0answers
31 views

Cache life time with varnish

Magento Magento\Framework\View\Element\AbstractBlock has method getCacheFiletime, it return lifetime of cache in seconds. How it will work with varnish?
0
votes
1answer
70 views

Magento 2 + Varnish + Apache + Nginx SSL - Nginx.conf error

Have just had a developer implement Varnish cache with SSL termination. http:s// --> nginx(443) --> varnish(port 8081) --> apache(8080) All pages on our site are working fine except the home page ...
2
votes
1answer
448 views

Magento 2 + Varnish + Nginx + SSL get real IP

I'm having a setup for Magento 2 with Nginx + Varnish + SSL in ubuntu server 18.04. Now with my setup, I only get all logs in Nginx and inside Magento admin coming from same localhost IP which Varnish ...
2
votes
1answer
601 views

Product saving very slow (takes minutes)

For several days my backend takes minutes for saving and generating products. I have this message in my logs : [2019-05-13 08:25:06] main.CRITICAL: Read timed out after 10 seconds {"method":"POST","...
3
votes
0answers
81 views

Using Customer Session Factory to avoid depersonalization

We have a plugin that adjusts the customer price on the frontend based on its customer ID. When you use the the Customer Session class it is depersonzalized for a very good reason. But when you use ...
0
votes
0answers
195 views

Magento 2 + NGINX + REDIS + VARNISH + SSL Changing to Developer mode

in Production Mode everything is fine. When i change to Developer Mode i have this Problem because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is ...
2
votes
1answer
564 views

Magento2.2: How to disable cache for homepage only?

I am using varnish cache and also I've added AMP pages for mobile view. Now the thing is varnish is not detecting mobile and tab so I want to disable varnish for the homepage. Everything was working ...
0
votes
0answers
31 views

Varnish making admin ajax very slow

We are on Magento1.7 using Varnish+nginx+HHVM. Frontend part of the website is fast but on the admin side specifically when there AJAX calls it will take a lot of time. I observed that disabling ...
2
votes
1answer
217 views

Magento 2.2: AMP page is not working after installing varnish

I've installed 3rd party extension for AMP and it was working fine before installing varnish. After varnish, I am getting normal page and it starts fetching amp pages after opening 2-3 pages. Has ...
2
votes
0answers
291 views

Setting X-Magento Tags for custom controller

I have a custom controller for infinite scroll and filtered attributes which simply returns a json response. When modifying a category or product these cached responses are not cleared however. ...
0
votes
0answers
33 views

Want to show the Stores based on countries

I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries. For Example Saudi ...
0
votes
1answer
26 views

Magento2: How can I implement varnish cache for magento?

I want to install varnish cache for my Magento site on Centos 6 Apache2. Please share me link and its advantages.
1
vote
1answer
358 views

set-cookie response header on every request causing varnish miss

I've deployed a couple of Magento installs (2.3) on dedicated servers, with Varnish. Out of the box, everything seems to be ok, but it seems once we developers onto the installations to add themes, ...

1
2
3 4 5
7