Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 41683

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

0 votes

Magento 2 and Varnish 5

There aren't so many dramatic changes in Varnish Configuration Language between Varnish 4 & 5, so I suspect Magento's generated VCL will work out of the box with Varnish 5. …
Danila Vershinin's user avatar
1 vote

Magento 1 + Turpentine versus Magento 2 + Varnish

Magento 2 Magento 2 Varnish support is complete full page cache solution, because it doesn't suffer from M1 + Turpentine limitation. It can serve full page cache hit for every landing visitor. …
Danila Vershinin's user avatar
1 vote

Varnish Cache and Apache with SSL in Multi Store Envronment

Varnish is transparent HTTP caching proxy, it doesn't care how many website go through it. One or one hundred will work equally fine. Worry about your hosting support being incompetent.. :) …
Danila Vershinin's user avatar
0 votes

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

Yes, Varnish will help to improve the performance to reduce the loading time on the products page. … Magento 2 emits the necessary Cache-Control headers and ESI tags for Varnish cache, even in developer mode. …
Danila Vershinin's user avatar
0 votes

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

You shouldn't need to clean CSS / JS cache from Varnish, provided that you have configured Magento 2 properly to "Sign Static Files" as mentioned here. … Then browsers will no longer request cached assets from Varnish, requesting different URLs. …
Danila Vershinin's user avatar
1 vote

When using WebP and Varnish, should WebP be added to line 82 of the VCL file?

But the long answer is: this snippet is obsolete since Varnish 4.x, because it already does Accept-Encoding normalization internally. … So removing it is best, unless you're using old Varnish like v3. …
Danila Vershinin's user avatar
5 votes

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

Based on the logs provided, a backend health check fails in Varnish for /pub/health_check.php. … order to remove pub, e.g. here: Change your generated VCL code (earlier link is just to point location in VCL code): .url = "/pub/health_check.php"; to .url = "/health_check.php"; Then restart Varnish
Danila Vershinin's user avatar
8 votes
Accepted

Multiple Magento 2 installs on 1 Varnish install

Yes, you can run multiple Magento 2 shops with single Varnish instance. …
Danila Vershinin's user avatar
6 votes
Accepted

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

That Cache-Control that you're seeing is emitted by Varnish VCL. This is fine, and this value does not make Varnish cache less effective. This is only meant for browsers. … Varnish will use a different Cache-Control, emitted by Magento itself. Varnish cache lifetime depends on the TTL setting you have in Magento backend. …
Danila Vershinin's user avatar
1 vote

Memory gets full, using Magento in combination with Varnish Cache

Surely enough it's not caused by Varnish. If you're serious about going with Magento store for production - go with at least Apache + PHP-FPM (not mod_php) to avoid memory issues. … But overall recommended for production is Varnish + Nginx + PHP-FPM (throw out Apache completely) Nginx is better, faster than Apache. …
Danila Vershinin's user avatar
3 votes

Magento 2: Facing issue in varnish configuration

X-Varnish will not be present in the output, because the following VCL code unsets it: unset resp.http.X-Varnish; …
Danila Vershinin's user avatar
0 votes

Nginx as reverse proxy server instead of varnish in Magento 2

You should be using bare bones Linux distribution, whereas Cpanel acts like rootkit to a system and prevents the use of decent performance software like Varnish. … Magento 2 is so very compatible with Varnish and these are great news for anyone. Get a host without crappy panel-ware, install Varnish, Nginx, transfer your Magento, be happy. …
Danila Vershinin's user avatar
5 votes

Does Varnish cache not compatible with Redis?

The information is incorrect. All the software you mentioned can co-exist just fine on the same server. However, note that you don't really need Memcached. If your intention to use it was for storing …
Danila Vershinin's user avatar
0 votes
Accepted

Magento 2 - eshop | Technologies that should be used

You have implemented Varnish cache. Until you have it working and configured, Magento 2 will be unbearably slow with any number of products. …
Danila Vershinin's user avatar
1 vote

Magento 2.2: Problem with varnish.vcl generated

Essentially you allow Varnish to serve a slightly old version of the page (as old as x seconds) while refreshing it in the background. This is Varnish performance trick called grace mode. …
Danila Vershinin's user avatar

15 30 50 per page