From: Colin M. <co...@ch...> - 2004-09-29 07:35:43
|
I've just created a module suitable for /custom which provides generic caching. [Cache_Fetch] will send a cached version of a file to the client (if it exists, and is newer than the proffered path) [Cache_Store] will store typed content to a cache file, and send the content to the client. I've rewritten the stml handler to use this facility. It's here on the wiki: http://mini.net/tcl/12549 and I'll move it into custom/ distro when it's been tested and bedded in. The upshot is that it should now be possible to use [Doc_$type] processing to do everything Template processing now does, but for arbitrary interpreters/transformers over arbitrary file types/extensions. Generic caching is also fully integrated with per-socket post-filtering. I imagine it would be usable for Direct domains, too. -- Colin McCormack <co...@ch...> |