HostOnNet Blog

Varnish Cache

Looking for Linux Server Admin or WordPress Expert? We can help.

Varnish Cache is a web application accelerator, that sit in between visors and web server. It caches frequently requested pages and serve them from memory.

Varnish is Open Source software, you can download it from

https://www.varnish-cache.org/

Varnish work as reverse proxy, so you need something like mod_rpaf installed in Apache web server to see real IP of the visitor, if not all you will see is IP of varnish server.

To find version of varnish, run

varnishd -V

To view varnish stats, run

varnishstat

To view varnish logs, run

varnishlog

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.