/clache

a caching library for clojure implementing various cache strategies

Primary LanguageClojure

clache

A cache library for Clojure implementing different strategies.

annotated source

done

  • basic cache
  • FIFO cache
  • LRU cache
  • LU cache
  • TTL cache
  • LIRS cache

in progress

  • soft cache

todo

  • associative interfaces
  • pass-through cache
  • more docs and examples
  • code cleanup

credits

Thanks to Justin Balthrop for letting me steal the name clache and deduktion for the LIRS implementation. Also thanks to Sebastián Galkin for bugs fixes and support.

License

Copyright (C) 2011 Fogus

Distributed under the Eclipse Public License, the same as Clojure.