How to use Varnish or memcache

Permalink
Hi,

in the past i read about the usage of Varnish and memcache on version 5.6.
Is there any guideline or experience how to use one of them with version 5.7?

Thanks!