mod_cml is dead, long live mod_cml 11
Yep, mod_cml will vanish from the distribution of lighttpd 1.5.0. It will get a new name and will get a full blown set of functions to manipulate the execution of a request in lighty.
It reason to rename mod_cml is that the focus of this module has changed from the its first implementation. It is not about checking if a request is a cache-hit or not. It is about deciding how to handle a request. Any status code can be returned, any content source will be able to be queried to assemble the content (files, memcache).
The main reason is to allow us to change the names like ‘trigger_handler’ and ‘CACHE_HIT’ to something more appropriate. In the end no big change, but a neccesary one to make the use of this powerful module more obvious. ... Perhaps the new name will be mod_cml … what would be the new meaning of this abbreviation ? Any suggestions ?
Trackbacks
Use the following link to trackback from your own site:
http://blog.lighttpd.net/articles/trackback/1897
-
You may have read Jo's blog entry Methods to reduce the load of your webserver by caching content: using lighttpd, MySQL UDF, LUA and speed everything up. He explained there how to use lighttpd and its mod_cml together with MySQL to provide a caching
I would suggest staying away from naming the new module mod_cml if the syntax or usage is substantially different. It'll probably confuse people.
I like Lamby's idea for mod_rml (Request Meta Language) or you could just name it something simple like mod_request.
i would call for mod_logic.