Varnish¶
Varnish is recommended for Full Page Caching with Magento2. Website performance is greatly increased when using Varnish.
Traffic flow on a single server with Varnish is typically:
- Varnish
- Install Varnish
- Example
VCL
- Configuration Test
- Start Varnish
- Reload Varnish
- Restart Varnish
- Version Check
Varnishlog
- Generate VCL in Magento2
- Set Varnish for FPC in Magento2
- Health Check
- Cache Static Files
- Too many restarts
- HIT/MISS Headers
cacheable="false"
- Exclude Domain From Cache
- Exclude URI From Cache
- HTTP -> HTTPS Redirect
- Custom 503 Error page
- Load balancing
- Purge Cache
- SSL Termination
- SSL Offloading
- Default VCL Config