Ahab Has A Blog.

blosxom plugin: entries_cache_meta
blosxom plugin: entries_cache_meta

This plugin combines the functions of an index cache and a meta plugin. It's convenient. This has some additional features over the other plugins whose functionality this apes (indeed it was based on their code originally).

Download it here entries_cache_meta version 0.6.
Version 0.6 improves locking behavior, improves documentation, and simplifies configuration
Version 0.5.1 fixes a bug where deleted meta-properties would remain cached.

Added features include:

  • only one reindexing at the same time: this can prevent the server from getting overloaded
  • safer: cache shouldn't get truncated; reindex param must be explicitly set, so others can't easily initiate a re-index
  • by loading the meta-properties globally, instead of per-story, you can build new kinds of plugins (e.g. list most recent entry for each author without full datadir scan)
  • modification time can be set (as a meta tag) in any format readable by Date::Parse, if it's available (and yet it's not required).

Prev >=< Next

Last refreshed: Fri Jul 3 21:22:57 2009
HREF