EnServe Guides
contents
How To...

Improve performance of the Web Cache

By default the system allocated 8Mb of memory for the Squid Web Cache. This is fine for basic use - however, if you are making more than the occasional use then it is too low.

It should be increased to at least 32M, if not higher. This does NOT limit squid to use the size specified, it limits ONE aspect of the system - in practice it may be up to three times the amount. So don't go mad!!.

Use the Admin login as per:

>

Look for the line: cache_mem XX Mb and set XX to something suitable:


I'm getting files deleted from the cache too quickly

By default Squid will allocate 100Mb of disk space fro cached objects. Once this is exceeded then old objects will be deleted. You can increase the disk space.

Follow the procedure above and look for cache_dir ufs /some/path 100 16 256, change to 100 to something suitable, e.g. the example below has been set to use a 500Mb object cache:


FAQ'S