#endif
storeConfigure();
+ update_maxobjsize(); // check for late maximum_object_size directive
snprintf(ThisCache, sizeof(ThisCache), "%s (%s)",
uniqueHostname(),
DEFAULT: 4 MB
LOC: Config.Store.maxObjectSize
DOC_START
- Set the default value for max-size parameter on any cache_dir
- which follow.
-
+ Set the default value for max-size parameter on any cache_dir.
The value is specified in bytes, and the default is 4 MB.
If you wish to get a high BYTES hit ratio, you should probably
max-size=n the maximum object size in bytes this cache_dir
supports.
- The value in maximum_object_size directive above
- this cache_dir line sets a default unless more
- specific details are available (ie a small store
- capacity).
+ The value in maximum_object_size directive sets
+ the default unless more specific details are
+ available (ie a small store capacity).
Note: To make optimal use of the max-size limits you should order
the cache_dir lines with the smallest max-size value first.