Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 2ecc1f71865a53cdac1cdca1b8b8cad2 > files > 11

apache-2.2.17-5.6.mga1.src.rpm

<IfDefine HAVE_MEM_CACHE>
    <IfModule mod_cache.c>
	<IfModule !mod_mem_cache.c>
	    LoadModule mem_cache_module		modules/mod_mem_cache.so
	</IfModule>
    </IfModule>
</IfDefine>

<IfModule mod_cache.c>

    # CacheEnable - A cache type and partial URL prefix below which caching is enabled
    #CacheEnable mem /manual
    #CacheEnable fd /images
    CacheEnable mem /

</IfModule>

<IfModule mod_mem_cache.c>

    # MCacheSize - The maximum amount of memory used by the cache in KBytes
    MCacheSize 100

    # MCacheMaxObjectCount - The maximum number of objects allowed to be placed in the cache
    MCacheMaxObjectCount 1009

    # MCacheMinObjectSize - The minimum size (in bytes) of an object to be placed in the cache
    MCacheMaxObjectSize 10000

    # MCacheMaxObjectSize - The maximum size (in bytes) of an object to be placed in the cache
    MCacheMaxObjectSize 2048

    # MCacheRemovalAlgorithm - The algorithm used to remove entries from the cache (default: GDSF)
    MCacheRemovalAlgorithm GDSF

    # MCacheMaxStreamingBuffer - Maximum number of bytes of content to buffer for a streamed response
    MCacheMaxStreamingBuffer 2048

</IfModule>