Feature #1525
closedmemcached support for mod_magnet + updated mod_deflate in 1.4.18
Description
This patch adds memcached support for lua scrips running under mod_magnet. It does not use namespaces yet, but an example lua script and lighttpd.conf snippet are also attached to show how I'm using it. It also has an updated mod_deflate for 1.4.18 (just re-importing the last one from 1.4.18 from the wiki). It has been running in production use on a site serving between 600K and 1.3M pages a day since January 8th with no problems.
-- jeremy
Files
Updated by stbuehler almost 16 years ago
- Target version changed from 1.4.20 to 1.4.21
Updated by icy over 15 years ago
- Target version changed from 1.4.21 to 1.4.22
- Patch available set to No
Updated by stbuehler over 15 years ago
- Target version changed from 1.4.22 to 1.4.23
Updated by stbuehler over 15 years ago
- Status changed from New to Wontfix
Looks like the patch got lost in the trac->redmine migration.
As it is possible to save persistent data in the lua scripts (_G
- see User Tracking in AbsoLUAtion), i see now reason why we should wrap memcache in mod_magnet.
Btw: The point of using patches is to have them separated, not to mix them.
Updated by gstrauss 8 months ago
- Status changed from Wontfix to Fixed
- Target version deleted (
1.4.23) - ASK QUESTIONS IN Forums set to No
An example lua script for mod_magnet using memcached can be found in lua mod_trigger_b4_dl. It should work with lighttpd 1.4.60 or later, but can be adapted for earlier versions.
mod_deflate has been part of lighttpd 1.4 since lighttpd 1.4.42. (#1824, #2753)
Also available in: Atom