Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fuss:varnish [2016/12/03 01:55] – [Optimized Varnish Cache (Varnish 4)] officefuss:varnish [2022/04/19 08:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
  
 +====== Use Disk Cache ======
 +
 +To use the disk cache instead of the memory cache, edit the Varnish command line and locate the ''-s'' argument and change it from:
 +<code>
 +-s malloc,256m
 +</code>
 +which uses memory storage of 256MiB, to:
 +<code>
 +-s file,/var/cache/varnish/varnish_storage.bin,10G
 +</code>
 +
 +where:
 +  * ''/var/cache/varnish'' is a directory where the ''varnish_storage.bin'' file will be placed.
 +  * ''10G'' means 10GiB of storage.

fuss/varnish.1480730122.txt.bz2 · Last modified: 2016/12/03 01:55 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.