Changes for version 0.30 - 2010-11-03

  • Updated tests to use Cache::FileCache instead of the deprecated ::FileCache. Report and patch by Rod Taylor, RT#53304 & RT#47373.
  • Fixed t/04critic.t to not fail if Test::Perl::Critic is not installed.
  • Updated test app code to avoid deprecated constructs.
  • Only serve GET and HEAD requests (instead of all except POST). RT#53307.
  • Allow key_maker to be the name of a method to be called on $c. RT#53529.
  • Assorted performance optimizations.
  • Add cache_dispatch_hook and cache_finalize_hook to config. RT#53503.
  • Refactored page cache storage logic, inspired by RT#53303.
  • Use SHA1 to create cache key to limit length and charset. RT#62343.
  • Treat the order of repeated URL parameter values as significant. Changes to page index logic used by clear_cached_page():
  • Documented race-hazard risks with page index concept.
  • Reduced the race-hazard risk in one scenario.
  • Added app class name to index key for added safety.
  • clear_cached_page() now returns the number of entries matched.
  • page index keys are original /path?query not altered by key_maker or sha1.
  • Now warns if disable_index is not explicitly set in config.
  • disable_index may default true in a future release.

Modules

Cache the output of entire pages