Skip to content

charcoal-cache 0.2.0

Compare
Choose a tag to compare
@mcaskill mcaskill released this 11 Mar 15:30
· 15 commits to master since this release

BC Breaks

  • CachePoolFacade (see below)

Added

  • Unit tests for CachePoolFacade
  • Unit tests for no-cache HTTP headers on CacheMiddleware

Changed

  • Refactored CachePoolFacade
    • Bumped default 60 second time-to-live to 1 hour
    • Renamed the option/setter/getter "ttl" to "default_ttl"
    • Replaced method set() with save() and repurposed set() for quick value storage
    • Protected setter/getter to the cache pool
  • Improved CacheMiddleware
    • Renamed method noCacheResponse() to disableCacheHeadersOnResponse()

Removed

  • Logger from CachePoolFacade

Fixed

  • Various lint issues