Quantcast
Viewing all articles
Browse latest Browse all 9

varnish delete least requested files

Image may be NSFW.
Clik here to view.
Question

I see that varnish can be configured to set -smalloc or -sfile with a certain size.

I want to set a file cache of 1G such that least requested files are deleted first when cache is full. Is this possible in varnish? Is there another reverse proxy tool that can do this?

Asked by nurettin

Image may be NSFW.
Clik here to view.
Answer

Varnish uses “least recently used” (LRU), for more information see: https://www.varnish-cache.org/trac/wiki/ArchitectureLRU

Answered by KM01

Viewing all articles
Browse latest Browse all 9

Trending Articles