23,835

Downloads

7,506

Downloads of v 1.7.0

11

Average downloads per day

2014-07-23

Last published

Share on Social Networks

License details

provided by Sonatype

MIT

DynaCache - output caching for classes

1.7.0

DynaCache is a small C# library that allows you to automatically cache the output from standard .NET functions. Although it is possible to use it without one, DynaCache works best when used in conjunction with a dependency injection (DI) framework, such as StructureMap, Ninject, etc.

To install DynaCache - output caching for classes, run the following command in the Package Manager Console

Install-Package DynaCache -Version 1.7.0

Release Notes

Added ability to specify named cache durations in application configuration, e.g.:
  <configSections>
    <section name="dynaCache" type="DynaCache.DynaCacheSection, DynaCache"/>
  </configSections>

  <dynaCache>
    <cacheDurations>
      <add name="short" duration="00:00:01" />
      <add name="long" duration="00:01:00" />
    </cacheDurations>
  </dynaCache>

Also tweaked how DateTime and DateTimeOffset parameters are recorded in cache keys to make them less prone to collision

Owners

Authors

Mike Goatly

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
DynaCache -... 1.7.0 (this version) 7,506 Wednesday, July 23, 2014
DynaCache -... 1.6.0 664 Sunday, September 8, 2013
DynaCache -... 1.5.0 676 Tuesday, April 2, 2013
DynaCache -... 1.4.0 241 Sunday, March 31, 2013
DynaCache -... 1.1.0 14,181 Tuesday, December 13, 2011