You have to maintain an active subscription in order to be able to use the repository!
Use our up-to-date, bug-free, time tested, and proactively developed version of Varnish VCL for Magento 2.
The supported Varnish version is 4.x.
SSL offload header
Magento 2 changed the default SSL offload header. Version 2.0 used
SSL_OFFLOADED while the latter use
If you were upgrading versions, you might still have the old value. To ensure the correct value, set it via CLI:
bin/magento config:set --lock-config web/secure/offloader_header X-Forwarded-Proto
This will preserve the correct value in the file
app/etc/config.php as opposed to the database.
The Key differences from default Magento VCL
- Microcache for search results
- Clearing cache for a specific store (you need to amend changes to core as per this ticket for this)