From b38be1a7fdf71a7d3c6d6f761590827b1f45483c Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Tue, 2 Jun 2009 22:42:47 +0000 Subject: Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759) See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method. --- bin/config-include/GridCommon.ini.example | 9 +++++++++ bin/config-include/StandaloneCommon.ini.example | 8 ++++++++ 2 files changed, 17 insertions(+) (limited to 'bin/config-include') diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index 8a95776..d0f63c8 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example @@ -1,6 +1,7 @@ [Modules] ;AssetCaching = "CoreAssetCache" AssetCaching = "GlynnTuckerAssetCache" + ;AssetCaching = "CenomeMemoryAssetCache" [AssetCache] ; Number of buckets for assets @@ -16,3 +17,11 @@ ; AssetServerURI = "http://myassetserver.com:8003" + + ; Optional configurations for CenomeMemoryAssetCache + ; Cache size 128 MB (default: 134217728) + ; MaxSize = 134217728 + ; Maximal asset count + ; MaxCount = 4096 + ; Asset's expiration time (minutes) + ; ExpirationTime = 30 diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index d607092..d772256 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -1,6 +1,7 @@ [Modules] ;AssetCaching = "CoreAssetCache" AssetCaching = "GlynnTuckerAssetCache" + ;AssetCaching = "CenomeMemoryAssetCache" [AssetCache] ; Number of buckets for assets @@ -20,3 +21,10 @@ AssetLoaderArgs = "assets/AssetSets.xml" + ; Optional configurations for CenomeMemoryAssetCache + ; Cache size 128 MB (default: 134217728) + ; MaxSize = 134217728 + ; Maximal asset count + ; MaxCount = 4096 + ; Asset's expiration time (minutes) + ; ExpirationTime = 30 \ No newline at end of file -- cgit v1.1