Andy, If you want implements a multi-query-system ICacheProvider, with its own configuration, you can attach a patch to http://216.121.112.228/browse/NHCH
<http://216.121.112.228/browse/NHCH>Obviously you can implement it somewhere else and then share the link in nhforge.org wiki or perhaps you can share the solution directly in nhforge. Totally up to you. On Wed, Dec 15, 2010 at 8:54 AM, BaldyOwl <[email protected]> wrote: > Hi, > > One of the things that has struck me as somewhat restrictive with > NHibernate is the fact that you can only have one level 2 cache. I've > been looking into how easy it would be to provide support for multiple > level 2 caches. This would allow things such as having an in-process > level 2 cache, such as ASP.NET, for frequently accessed static data, > in addition to an external level 2 cache, such as memcached, for less > frequently accessed and possibly dynamic data. > > I've now actually got something up and running whereby you can specify > a different cache provider for each cache region in hibernate.cfg.xml > and it seems to work pretty well. > > Is this something that others would be interested in? Would it > improve NHibernate if this became 'standard' ? > > Cheers, > Andy -- Fabio Maulo
