W
W. Jordan
Hello,
I would like to instantiate multiple Cache instances within my
web application, for instance, one for database related items,
one for application configuration items, one for user preferences
items, and etc.
Is it ok to instatiate multiple Cache instances by calling
the constructor method of Cache
Cache databaseCache = new Cache ();
Cache userPreferencesCache = new Cache ();
Cache configurationCache = new Cache ();
and then put them into a IDictionary colleciton for later use?
I looked up the documentation, however it warns me it is "not
suitable to use directly in code" things.
Any opinions??
Thanks,
W. Jordan
I would like to instantiate multiple Cache instances within my
web application, for instance, one for database related items,
one for application configuration items, one for user preferences
items, and etc.
Is it ok to instatiate multiple Cache instances by calling
the constructor method of Cache
Cache databaseCache = new Cache ();
Cache userPreferencesCache = new Cache ();
Cache configurationCache = new Cache ();
and then put them into a IDictionary colleciton for later use?
I looked up the documentation, however it warns me it is "not
suitable to use directly in code" things.
Any opinions??
Thanks,
W. Jordan