Re: pyblosxom 2.0: entry level caching
Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 28 Aug 2007, Will Guaraldi wrote: > 2. entry-level caching code is part of PyBlosxom core, but should be > done as plugins i like this. the fewer integration points, the better. plus, i'm a big fan of our loosely coupled, callback-based plugin interface. we'd need to support verify_installation, cb_prepare, etc. for cache plugins, but that's a non-issue since we're just adding two callbacks. when there are multiple cache plugins, we'd need to know the order to call them. i assume we'd have a py_cache_plugins config variable that lists them, in order? otherwise, +1 for this. > I'd also like to add callbacks for index level caching. This caches the > results of ``tools.Walk`` (or whatever that turns into), but that'll be > talked about in another thread (unless you think it's pertinent to this one). looking forward to this one... :P -Ryan -- http://snarfed.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/