Hi,
JFI, there is a new Kernel::System::Cache API improvement for OTRS 2.3
and higher.
You need to define the cache type of your cached object to get it
separated (== uniq name space for each object).
So if Kernel::System::Cache::File is used also a better storage is
possible because it can manage each cache type in a differend sub
directory (so it will not be longer in one directory, old storage
$CacheDir/$CacheFiles new storage $CacheDir/$CacheType/$CacheFiles).
Here an example of the API change.
API Example (old):
$CacheObject->Set(
Key => 'SomeKey',
Value => 'Some Value',
TTL => 24*60*60, # in sec. in this case 24h
);
API Example (new):
$CacheObject->Set(
Type => 'ObjectName',
Key => 'SomeKey',
Value => 'Some Value',
TTL => 24*60*60, # in sec. in this case 24h
);
((enjoy))
-Martin
--
((otrs)) :: OTRS AG :: Europaring 4 :: D - 94315 Straubing
Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
http://www.otrs.com/ :: Communication with success!
Address of record: Bad Homburg
Local Court: Bad Homburg, HRB 10751
Tax number: 003/240/97505
Chairman: Burchard Steinbild
Chief Executive Officer: André Mindermann
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev