Questions tagged [varnish]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
1k 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
1
vote
2answers
759 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 ...
1
vote
1answer
998 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
3answers
2k 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
697 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?
1
vote
1answer
1k 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 ...
2
votes
0answers
551 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
112 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 ...
3
votes
0answers
2k 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
1k 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 ...
3
votes
4answers
5k 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/...
1
vote
1answer
2k 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 ...
5
votes
2answers
3k views

Magento 2 - After adding to cart, cart page showing empty

I have a magento 2 website and I am facing an issue where After you add to cart, cart page is showing empty. It's not happening all the time but most of the customers are facing this issue. Thanks
1
vote
0answers
89 views

Browser History back() Method decreases minicart quantity

We have discovered an interesting phenomenon with browsers history. When I add some products from several product pages to the basket then the minicart at top will always update and shows me the ...
0
votes
1answer
121 views

How to configure Nginx and Varnish with Magento

Recently we decided to go ahead and install varnish for use with Magento, along with Nginx for SSL termination. Apache is serving to port 8080, Varnish is on port 80, and Nginx is configured to ...
4
votes
3answers
10k 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
226 views

turpentine for varnish recently viewed products not working

I am running turpentine 0.7.10 on Magento CE 1.9.3.7. The recently viewed products block at the bottom of my list pages displays products from other customers sessions when varnish is on. I saw a lot ...
1
vote
3answers
852 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 ...
5
votes
2answers
4k views

Magento 2+nginx+varnish cannot serve same page multiple times, resp 502

I have been on the administrative side of a small magento 2 developers team. For the problem i am about to share you can ask for a demo page and check it out aswell you find the information shared ...
1
vote
1answer
1k views

When clearing cache I have to restart Varnish to see changes

I am new to optimizing and maintaining Magento 2.2. I have an installation that are setup with: Dedicated server Ubuntu 16.04 Nginx PHP 7 MySQL 5.7 Magento 2.2 memcached Redis Varnish 4 I am ...
0
votes
1answer
52 views

Magento 2 slow open categories and products

Help me please understand, why my store is working slowly on Magento 2.1.1. Ubuntu x64, DO 16cpu, 48Gb ram, ssd. We use nginx, php-fpm 7.0, varnish 4, mysql 5.6. This is very strange situation for me ...
0
votes
2answers
121 views

Magento 2 caching problem

I am not able to flush the cache properly. I am using Magento 2.1.4, Redis and Varnish. I have tried flushing the cache in the Magento admin: Admin > System > Cache Management > Flush Cache ...
0
votes
1answer
29 views

Show different logo based on URL

I want to show a different logo if a user is redirected from a specific site. This logo should show the reset of the session. The problem I'm facing is that we're using Varnish, and the logo shows up ...
0
votes
0answers
506 views

Magento 2.1 - Flushing Varnish Cache

I am quite new to varnish however I have configured varnish in my Dev environment and seems to be going well. The cache however doesn't seem to flush with Magento. Subsequent requests however remain ...
1
vote
3answers
3k views

Varnish Cache and Apache with SSL in Multi Store Envronment

I want to install and configure varnish with Magento 2 on my server running apache as incredibly impressed with the performance gains. Just wanted to know a bit about configuring SSL with this as ...
0
votes
0answers
67 views

Magento 2 will only load on HTTPS after Varnish configuration attempt

After trying to setup Varnish with Magento 2, and going through a series of edit to apache2 files as shown in tutorials from different websites, the site will now only load on HTTPS and return a 502 ...
0
votes
0answers
333 views

Varnish 4.1 + Turpentine : Varnish admin socket timeout

I have been trying for ages getting varnish + turpentine to work proper... But turpentine keeps saying Error determining Varnish version: Varnish admin socket timeout. Failed to load configurator ...
4
votes
0answers
129 views

Magento 2 FPC with Varnish

We have Magento ver. 2.1.7 where I have installed varnish and enabled it from backend after exporting varnish 4 .vcl file. It seems to be working fine and pages which are once loaded do load quickly ...
0
votes
1answer
68 views

Cache Management options disappeared after installing turpentine

Trying to setup Varnish 3.0.5 with Magento 1.9.2.4 - Installed turpentine with modaman So, i think i've successfully installed turpentine But after that when i'm going to cache management no option ...
1
vote
2answers
2k views

Why is full page not cached in Magento 2 even if FPC is enabled?

I am using Magento EE 2.1.1 and FPC is enabled (built-in). What I suppose is, if any page(homepage, category or product pages) is accessed next time, Magento should dispatch whole page content from ...
0
votes
1answer
296 views

Magento 1 + Turpentine versus Magento 2 + Varnish

I am using (Magento 1 + Nexcess Turpentine) combination for a long time with very good results. Now I am playing with Magento 2.2.0 and it has its own internal mechanism for doing the job with Varnish,...
3
votes
5answers
2k views

Magento 2 - Geo IP Redirect and Varnish

We run a Magento 2.1.8 Shop with Amasty Geo IP Redirect Module. Unfortunatly it is not working correctly with varnish. Amasty wrote they know no working solution right now. I looked up for other ...
1
vote
2answers
3k views

Magento 2.2: Problem with varnish.vcl generated

I have installed Magento 2.2.0-rc23 and now try to setup varnish FPC. I generate VCL on BE System -> Advanced -> System -> Full Page Cache -> Varnish Configuration -> Export VCL for Varnish 5. VCL ...
0
votes
0answers
26 views

Magento Page creation without hitting URL and save that Page in Varnish Cache

Can a Magento 2.x Page be created without hitting URL(I mean without CURL Request) and save that Page in Varnish Cache? If possible then the Cache Warming can be faster. Now it takes a lot of time.
1
vote
1answer
144 views

How to make observer Cacheable false

I created my module for GeoIP where I get location based on IP and set currency and stores according to It. I have implemented the login in the first possible observer controller_action_predispatch ...
0
votes
1answer
378 views

after using varnish and nginx ssl termination, all the online customer ip changed to 127.0.0.1

after using varnish and use Nginx SSL termination for varnish, today I found that all the online customer IP changed to 127.0.0.1 Apache2 8080 port Varnish 80 port Nginx 443 port location / { ...
0
votes
1answer
462 views

When should I Disable Varnish?

I have heard by some developers that while making changes to magento2 backend (like adding a extension), one should disable varnish (so that changes we make get visible on the frontend). Is that ...
2
votes
1answer
2k views

Varnish Cache-Control: Max_Age 0 ; On Magento 2

So I have installed xVarnish or, CacheWall, but the Cache-control max_age is set to 0. I found this post here but I am not sure of the exact location that I can implement the answers suggestion of "...
1
vote
3answers
84 views

is admin (backend ) cacheable?

I installed varnish, I'm 100% sure varnish works on the frontend. I see the below info in response header in chrome console. X-Magento-Cache-Debug:HIT I don't see the above info in admin side URL, ...
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, ...
1
vote
0answers
422 views

Caching magento 2 (with CDN)

On a local server I have a test-instance of Magento 2, by running a new build on that server and then rsyncing the code to the production, I switch to a new without downtime. Recently I have added a ...
1
vote
2answers
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
2answers
83 views

Magento 2 - eshop | Technologies that should be used

I recently assigned the implementation of my eshop to an agency, using magento 2. What I would like to ask, is what should I have in mind, in order to be sure the latest technologies are implemented ...
1
vote
1answer
2k views

Default Varnish configuration to use with Magento 2

I'm setting up Varnish with Magento 2. I want to know if I can use the default configuration of Varnish (/etc/default/varnish) with Magento 2 or not?
1
vote
1answer
4k views

Varnish cache cleaning problem (Purge: Method not allowed)

I have a magento 2.1 with a apache and varnish 4 installed on a Centos 7. (apache running in port number 8080 and varnish in port number 80 in the same server. The server's external IP address is: 79....
2
votes
1answer
580 views

Magento 2 websites : BLOCK access from ALL & ALLOW access only from some countries?

There are many options and many articles, but I want some advice for my particular setup from Pros who have more experience than I do. On my VPS I have tree magento websites. All websites have the ...
1
vote
1answer
140 views

Bypass PHP with full page static cache

Is it possible to completely bypass PHP with the magento full page static cache? With other application such as WordPress that use a full page static cache I write a rule in the webserver that checks ...
3
votes
2answers
2k views

Magento 2 cache_invalidate loop

I've got a problem on one of our Magento 2.1.6 shops. Sometimes the log fills with hundereds/thousands of cache_invalidate entries. [2017-06-28 14:05:26] main.DEBUG: cache_invalidate: {"method":"...
0
votes
0answers
1k views

Magento 2 Stop Caching of a Controller

I have create a module that have a block file, a controller and a template to show "WHAT OTHER CUSTOMERS ARE LOOKING AT RIGHT NOW" on home page The controller render the template and show ...
0
votes
2answers
46 views

Magento 2 urls opening as images

I am having this weird issue. Whenever i try to open a product or add them into cart. The link gets opened but as an image. That is if product link is abc.com/product/123.html This page only has a ...

1 2 3
4
5
7